Crayola crayon color

Crayola Cotton Candy #FFBCD9

Crayola Cotton Candy is shown here as #FFBCD9, the commonly published value for the crayon. It is a pale muted pink in the pink family. In OKLCH it sits at lightness 0.865, chroma 0.085 and hue 351.3°. The nearest CSS named color is pink (#FFC0CB), ΔE2000 5.6 away.

Relative luminance
0.6224
OKLCH L · C · h
0.865 · 0.085 · 351.3
Best text
Black 13.44:1
Hue family
Pink

#FFBCD9 color codes

HEX
#FFBCD9
RGB
rgb(255, 188, 217)
HSL
hsl(334, 100%, 87%)
OKLCH
oklch(0.865 0.085 351.3)
OKLab
oklab(0.865 0.084 -0.013)
CIELAB (D65)
L* 83.04, a* 28.36, b* -4.98
XYZ (D65)
X 71.75, Y 62.24, Z 73.87
CMYK (naive)
cmyk(0%, 26%, 15%, 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 #FFBCD9 accessible?

Black text on it reaches 13.44:1, passing AAA. White text fails at 1.56: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

    13.44:1

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

    1.56:1

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

    13.44:1

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

    1.56:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #9F637F 4.59:1

    Darkening its OKLCH lightness from 0.86 to 0.57 reaches 4.59:1 on white, keeping the hue.

  • For text on black

    #FFBCD9 13.44:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF1F6
    White
    1.09
    Black
    19.16
  2. 100#FFE2EE
    White
    1.20
    Black
    17.36
  3. 200This color#FFBCD9
    White
    1.56
    Black
    13.44
  4. 300#E7A9C4
    White
    1.93
    Black
    10.87
  5. 400#CA8CA8
    White
    2.68
    Black
    7.82
  6. 500#AE718C
    White
    3.79
    Black
    5.54
  7. 600#945A74
    White
    5.28
    Black
    3.97
  8. 700#7B445D
    White
    7.42
    Black
    2.82
  9. 800#5E2D44
    White
    10.85
    Black
    1.93
  10. 900#42172D
    White
    15.08
    Black
    1.39
  11. 950#2A0619
    White
    18.44
    Black
    1.13

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

Gamut

How vivid #FFBCD9 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.085; #FFBCD9 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.112 there: 32% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.085
sRGB edge
0.085
Display P3 edge
0.112
Rec. 2020 edge
0.166
Dominant wavelength
Complementary 503 nm
Excitation purity
17%
Chromaticity
x 0.3452, y 0.2994
  • This color#FFBCD9
  • Most vivid in sRGB#FFBCD9
  • Most vivid in Display P3oklch(0.865 0.112 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: #ffbcd9;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.7204 0.853); }
}

Mixing

Mixing #FFBCD9

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%#FFDEEC
  • OKLab50%#FFDEEC
  • OKLCH50%#FFDEEC

Black #000000

  • sRGB50%#805E6D
  • OKLab50%#634753
  • OKLCH50%#634753

Its complement #98E5CB

  • sRGB50%#CCD1D2
  • OKLab50%#D2D2D2
  • OKLCH50%#EFCD92
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ffbcd9, white);
color: color-mix(in oklch, #ffbcd9 50%, white);

In use

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

For text on this page, the nearest shade that passes is #9F637F 4.59:1

Dark page

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

Color vision

How #FFBCD9 looks with color blindness

Achromatopsia changes it most, ΔE2000 21.3; tritanopia changes it least, 5.6.

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

    #C2C8DA ΔE2000 21.2

    Distinct

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #D2D3D7 ΔE2000 20.9

    Distinct

    Reads as light gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFBAC6 ΔE2000 5.6

    Noticeable

    Reads as pale muted pink

  • Achromatopsia

    No cone color vision; lightness only

    #CFCFCF ΔE2000 21.3

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FFBCD9 · #98E5CB49.0Stays distinct
Protanopia#C2C8DA · #E1DBCA17.0Stays distinct
Deuteranopia#D2D3D7 · #D3D2CD4.7Easily confused
Tritanopia#FFBAC6 · #83E6DD51.9Stays distinct
Achromatopsia#CFCFCF · #D6D6D61.7Easily confused

Harmony

Color harmonies for #FFBCD9

Its complement is #98E5CB, a pale muted 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#FFBCD9
  • Complement#98E5CB

Complementary

Open in Harmony Studio
  • −30°#EDC1F5
  • Base#FFBCD9
  • +30°#FFC0BE
  • Base#FFBCD9
  • +120°#D4D897
  • +240°#9BDDFF
  • Base#FFBCD9
  • +150°#B4E1AD
  • +210°#8CE4EA

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-cotton-candy: #ffbcd9;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-crayola-cotton-candy: oklch(0.865 0.085 351.3);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-cotton-candy": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.7373, 0.851],
        "hex": "#ffbcd9"
      },
      "$description": "Crayola Cotton Candy"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaCottonCandy = Color(.sRGB, red: 1.000, green: 0.737, blue: 0.851, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaCottonCandy = Color(0xFFFFBCD9)
}

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

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