#CE408C#CE408C

#CE408C is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.7% C 0.192 H 351.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CE408C
RGBrgb(206, 64, 140)
HSLhsl(328, 59%, 53%)
HSVhsv(328, 69%, 81%)
CMYKcmyk(0%, 68.9%, 32%, 19.2%)
CIE-LABlab(50.32, 62.07, -10.88)
CIE-LCHlch(50.32, 63.01, 350.05°)
OKLaboklab(59.7% 0.1895 -0.0282)
OKLCHoklch(59.7% 0.192 351.5)
XYZxyz(32.0223, 18.6857, 26.7262)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE408C #40CE82
analogous
#C940CE #CE408C #CE4045
triadic
#CE408C #8CCE40 #408CCE
tetradic
#CE408C #CEC940 #40CE82 #4045CE
square
#CE408C #CEC940 #40CE82 #4045CE
split-complementary
#CE408C #45CE40 #40CEC9
monochromatic
#751E4D #A62B6D #CE408C #DA71A9 #E7A1C7

Accessibility & contrast

On white

4.43
#CE408C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CE408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE408C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE408C#FFFFFF#000000##000000
##CE408C1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#57678E
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#DD3760
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce408c;
/* rgb */ color: rgb(206, 64, 140);
/* oklch */ color: oklch(59.7% 0.192 351.5);
Tailwind
colors: {
  custom: {
    50: '#e17fad',
    500: '#ce408c',
    950: '#000000',
  },
}
SCSS
$custom: #ce408c;
$custom-light: #e17fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ce408c",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 327.887,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.19162,
    "h": 351.5
  },
  "luminance": 0.18682
}

Semantic roles & 50–950 ramp

primary
#CE408C
secondary
#96D4B3
accent
#E28E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CE408C

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

Preview Lab → · Contrast checker → · Palette generator →

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