Crayola crayon color

Crayola Hot Magenta #FF1DCE

Crayola Hot Magenta is shown here as #FF1DCE, the commonly published value for the crayon. It is a light vivid magenta in the pink family. In OKLCH it sits at lightness 0.681, chroma 0.285 and hue 340.0°. The nearest CSS named color is fuchsia (#FF00FF), ΔE2000 6.9 away.

Relative luminance
0.2659
OKLCH L · C · h
0.681 · 0.285 · 340.0
Best text
Black 6.31:1
Hue family
Pink

#FF1DCE color codes

HEX
#FF1DCE
RGB
rgb(255, 29, 206)
HSL
hsl(313, 100%, 56%)
OKLCH
oklch(0.681 0.285 340.0)
OKLab
oklab(0.681 0.268 -0.098)
CIELAB (D65)
L* 58.60, a* 89.52, b* -36.01
XYZ (D65)
X 52.82, Y 26.60, Z 60.73
CMYK (naive)
cmyk(0%, 89%, 19%, 0%)

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 #FF1DCE accessible?

Black text on it reaches 6.31:1, passing AA. White text manages only 3.32:1, enough for large text only.

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

    6.31:1

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

    3.32:1

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

    6.31:1

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

    3.32:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +58

Nearest versions that pass 4.5:1

  • For text on white

    #DB00B0 4.52:1

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

  • For text on black

    #FF1DCE 6.31:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FF1DCE 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 #FF1DCE

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

  1. 50#FFF0F9
    White
    1.10
    Black
    19.08
  2. 100#FFE1F4
    White
    1.21
    Black
    17.32
  3. 200#FFC2E9
    White
    1.48
    Black
    14.14
  4. 300#FF93DD
    White
    2.00
    Black
    10.46
  5. 400This color#FF1DCE
    White
    3.32
    Black
    6.31
  6. 500#E400B7
    White
    4.21
    Black
    4.98
  7. 600#BE0098
    White
    5.76
    Black
    3.64
  8. 700#99007A
    White
    7.96
    Black
    2.63
  9. 800#710059
    White
    11.37
    Black
    1.84
  10. 900#4C003B
    White
    15.32
    Black
    1.37
  11. 950#2D0022
    White
    18.50
    Black
    1.13

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

Gamut

How vivid #FF1DCE can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.285; #FF1DCE uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.329 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.285
sRGB edge
0.285
Display P3 edge
0.329
Rec. 2020 edge
0.384
Dominant wavelength
Complementary 521 nm
Excitation purity
64%
Chromaticity
x 0.3769, y 0.1898
  • This color#FF1DCE
  • Most vivid in sRGB#FF1DCE
  • Most vivid in Display P3oklch(0.681 0.329 340.0)

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

Use the wider color where screens show it
.accent {
  color: #ff1dce;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9598 0 0.8129); }
}

Mixing

Mixing #FF1DCE

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%#FF8EE7
  • OKLab50%#FFA5E8
  • OKLCH50%#FFACE3

Black #000000

  • sRGB50%#800F67
  • OKLab50%#63054E
  • OKLCH50%#63054E

Its complement #00B577

  • sRGB50%#8069A3
  • OKLab50%#B589A6
  • OKLCH50%#D28600
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ff1dce, white);
color: color-mix(in oklch, #ff1dce 50%, white);

In use

#FF1DCE 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:16.31:1 Passes
  • Link and body-size textText, 4.5:13.32:1 Fails
  • Large headingLarge text, 3:13.32:1 Passes
  • Icons, borders and focus ringsNon-text, 3:13.32:1 Passes

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

Dark page

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

Color vision

How #FF1DCE looks with color blindness

Protanopia changes it most, ΔE2000 39.1; tritanopia changes it least, 15.4.

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

    #3777D2 ΔE2000 39.1

    Distinct

    Reads as soft blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #8699C9 ΔE2000 33.4

    Distinct

    Reads as light muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #FF2B7C ΔE2000 15.4

    Distinct

    Reads as vivid pink

  • Achromatopsia

    No cone color vision; lightness only

    #8D8D8D ΔE2000 30.4

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FF1DCE · #00B57754.9Stays distinct
Protanopia#3777D2 · #B3A67349.0Stays distinct
Deuteranopia#8699C9 · #A1997B31.8Stays distinct
Tritanopia#FF2B7C · #00B4A573.0Stays distinct
Achromatopsia#8D8D8D · #9E9E9E5.6Harder to tell apart

Harmony

Color harmonies for #FF1DCE

Its complement is #00B577, a light soft green, 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#FF1DCE
  • Complement#00B577

Complementary

Open in Harmony Studio
  • −30°#C364FF
  • Base#FF1DCE
  • +30°#FF4D7A
  • Base#FF1DCE
  • +120°#AD9A00
  • +240°#00AACD
  • Base#FF1DCE
  • +150°#72AD00
  • +210°#00AFA9

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-hot-magenta: #ff1dce;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-crayola-hot-magenta: oklch(0.681 0.285 340.0);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-hot-magenta": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.1137, 0.8078],
        "hex": "#ff1dce"
      },
      "$description": "Crayola Hot Magenta"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaHotMagenta = Color(.sRGB, red: 1.000, green: 0.114, blue: 0.808, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaHotMagenta = Color(0xFFFF1DCE)
}

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 #FF1DCE in the tools

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