Crayola crayon color

Crayola Magenta #F664AF

Crayola Magenta is shown here as #F664AF, the commonly published value for the crayon. It is a light vivid pink in the pink family. In OKLCH it sits at lightness 0.708, chroma 0.194 and hue 351.3°. The nearest CSS named color is hotpink (#FF69B4), ΔE2000 2.0 away.

Relative luminance
0.3180
OKLCH L · C · h
0.708 · 0.194 · 351.3
Best text
Black 7.36:1
Hue family
Pink

#F664AF color codes

HEX
#F664AF
RGB
rgb(246, 100, 175)
HSL
hsl(329, 89%, 68%)
OKLCH
oklch(0.708 0.194 351.3)
OKLab
oklab(0.708 0.192 -0.029)
CIELAB (D65)
L* 63.18, a* 63.13, b* -11.38
XYZ (D65)
X 50.30, Y 31.81, Z 44.04
CMYK (naive)
cmyk(0%, 59%, 29%, 4%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #F664AF accessible?

Black text on it reaches 7.36:1, passing AAA. White text fails at 2.85:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    7.36:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +50
  • White text on it

    2.85:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −59
  • As text on black

    7.36:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −47
  • As text on white

    2.85:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +53

Nearest versions that pass 4.5:1

  • For text on white

    #CD3D8C 4.52:1

    Darkening its OKLCH lightness from 0.71 to 0.59 reaches 4.52:1 on white, keeping the hue.

  • For text on black

    #F664AF 7.36:1

    It already reaches 7.36:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #F664AF live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #F664AF

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #F664AF sits at step 400.

  1. 50#FFF1F6
    White
    1.09
    Black
    19.16
  2. 100#FFE2EE
    White
    1.20
    Black
    17.36
  3. 200#FFC4DD
    White
    1.47
    Black
    14.19
  4. 300#FF98C8
    White
    1.98
    Black
    10.57
  5. 400This color#F664AF
    White
    2.85
    Black
    7.36
  6. 500#D74794
    White
    4.02
    Black
    5.21
  7. 600#BA2A7C
    White
    5.66
    Black
    3.71
  8. 700#9D0564
    White
    7.95
    Black
    2.63
  9. 800#750049
    White
    11.33
    Black
    1.85
  10. 900#4F002F
    White
    15.28
    Black
    1.37
  11. 950#2F001A
    White
    18.48
    Black
    1.13

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #F664AF can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.219; #F664AF uses 89% of it. Display P3, which many recent phones and laptops show, reaches 0.284 there: 30% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.194
sRGB edge
0.219
Display P3 edge
0.284
Rec. 2020 edge
0.387
Dominant wavelength
Complementary 503 nm
Excitation purity
44%
Chromaticity
x 0.3988, y 0.2521
  • This color#F664AF
  • Most vivid in sRGB#FF58B1
  • Most vivid in Display P3oklch(0.708 0.284 351.3)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #f664af;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.2565 0.6969); }
}

Mixing

Mixing #F664AF

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#FBB2D7
  • OKLab50%#FFB5D7
  • OKLCH50%#FFB6D6

Black #000000

  • sRGB50%#7B3258
  • OKLab50%#5F2241
  • OKLCH50%#5F2241

Its complement #00BC96

  • sRGB50%#7B90A3
  • OKLab50%#AF9AA3
  • OKLCH50%#6A9FFF
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #f664af, white);
color: color-mix(in oklch, #f664af 50%, white);

In use

#F664AF in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:17.36:1 Passes
  • Link and body-size textText, 4.5:12.85:1 Fails
  • Large headingLarge text, 3:12.85:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.85:1 Fails

For text on this page, the nearest shade that passes is #CD3D8C 4.52:1

Dark page

  • Button labelText, 4.5:17.36:1 Passes
  • Link and body-size textText, 4.5:16.56:1 Passes
  • Large headingLarge text, 3:16.56:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.56:1 Passes

Color vision

How #F664AF looks with color blindness

Protanopia changes it most, ΔE2000 31.7; tritanopia changes it least, 10.9.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #7889B1 ΔE2000 31.7

    Distinct

    Reads as muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #A0A3AC ΔE2000 26.8

    Distinct

    Reads as gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #FF5D82 ΔE2000 10.9

    Distinct

    Reads as light vivid pink

  • Achromatopsia

    No cone color vision; lightness only

    #999999 ΔE2000 26.6

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #00BC96. Their lightness contrast is only 1.17:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#F664AF · #00BC9657.0Stays distinct
Protanopia#7889B1 · #B6AE9430.6Stays distinct
Deuteranopia#A0A3AC · #A2A0998.6Harder to tell apart
Tritanopia#FF5D82 · #00BEB167.7Stays distinct
Achromatopsia#999999 · #A6A6A64.0Easily confused

Harmony

Color harmonies for #F664AF

Its complement is #00BC96, a light soft cyan, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#F664AF
  • Complement#00BC96

Complementary

Open in Harmony Studio
  • −30°#D671E8
  • Base#F664AF
  • +30°#FF686D
  • Base#F664AF
  • +120°#A5A900
  • +240°#00AFE9
  • Base#F664AF
  • +150°#4EBD3E
  • +210°#00B7C0

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-magenta: #f664af;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-magenta': '#f664af',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-magenta: oklch(0.708 0.194 351.3);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-magenta": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9647, 0.3922, 0.6863],
        "hex": "#f664af"
      },
      "$description": "Crayola Magenta"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaMagenta = Color(.sRGB, red: 0.965, green: 0.392, blue: 0.686, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaMagenta = Color(0xFFF664AF)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #F664AF in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.