#CE407D#CE407D

#CE407D is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.2% C 0.185 H 358.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CE407D
RGBrgb(206, 64, 125)
HSLhsl(334, 59%, 53%)
HSVhsv(334, 69%, 81%)
CMYKcmyk(0%, 68.9%, 39.3%, 19.2%)
CIE-LABlab(49.83, 60.41, -2.60)
CIE-LCHlch(49.83, 60.46, 357.54°)
OKLaboklab(59.17% 0.1851 -0.0061)
OKLCHoklch(59.17% 0.185 358.1)
XYZxyz(30.9907, 18.2730, 21.2931)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE407D #40CE91
analogous
#CE40C4 #CE407D #CE4A40
triadic
#CE407D #7DCE40 #407DCE
tetradic
#CE407D #C4CE40 #40CE91 #4A40CE
square
#CE407D #C4CE40 #40CE91 #4A40CE
split-complementary
#CE407D #40CE4A #40C4CE
monochromatic
#751E44 #A62B60 #CE407D #DA719E #E7A1BF

Accessibility & contrast

On white

4.51
#CE407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CE407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE407D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE407D#FFFFFF#000000##000000
##CE407D1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657F
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#DF3059
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ce407d;
/* rgb */ color: rgb(206, 64, 125);
/* oklch */ color: oklch(59.2% 0.185 358.1);
Tailwind
colors: {
  custom: {
    50: '#e27fa2',
    500: '#ce407d',
    950: '#000000',
  },
}
SCSS
$custom: #ce407d;
$custom-light: #e27fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce407d",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 334.225,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.18521,
    "h": 358.1
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#CE407D
secondary
#96D4B9
accent
#E29F45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CE407D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CE407D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva