#CE407C#CE407C

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

Color values

HEX#CE407C
RGBrgb(206, 64, 124)
HSLhsl(335, 59%, 53%)
HSVhsv(335, 69%, 81%)
CMYKcmyk(0%, 68.9%, 39.8%, 19.2%)
CIE-LABlab(49.80, 60.30, -2.04)
CIE-LCHlch(49.80, 60.34, 358.06°)
OKLaboklab(59.14% 0.1848 -0.0046)
OKLCHoklch(59.14% 0.185 358.6)
XYZxyz(30.9272, 18.2476, 20.9584)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE407C #40CE92
analogous
#CE40C3 #CE407C #CE4B40
triadic
#CE407C #7CCE40 #407CCE
tetradic
#CE407C #C3CE40 #40CE92 #4B40CE
square
#CE407C #C3CE40 #40CE92 #4B40CE
split-complementary
#CE407C #40CE4B #40C3CE
monochromatic
#751E43 #A62B5F #CE407C #DA719D #E7A1BF

Accessibility & contrast

On white

4.52
#CE407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE407C#FFFFFF#000000##000000
##CE407C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657E
Deuteranopia (green-blind)
#828079
Tritanopia (blue-blind)
#DF3059
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ce407c;
/* rgb */ color: rgb(206, 64, 124);
/* oklch */ color: oklch(59.1% 0.185 358.6);
Tailwind
colors: {
  custom: {
    50: '#e27fa1',
    500: '#ce407c',
    950: '#000000',
  },
}
SCSS
$custom: #ce407c;
$custom-light: #e27fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce407c",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 334.648,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5914,
    "c": 0.18485,
    "h": 358.6
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#CE407C
secondary
#96D4BA
accent
#E2A045
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CE407C

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

Preview Lab → · Contrast checker → · Palette generator →

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