#CE408F#CE408F

#CE408F is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.193 H 350.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CE408F
RGBrgb(206, 64, 143)
HSLhsl(327, 59%, 53%)
HSVhsv(327, 69%, 81%)
CMYKcmyk(0%, 68.9%, 30.6%, 19.2%)
CIE-LABlab(50.42, 62.42, -12.52)
CIE-LCHlch(50.42, 63.66, 348.66°)
OKLaboklab(59.81% 0.1903 -0.0326)
OKLCHoklch(59.81% 0.193 350.3)
XYZxyz(32.2466, 18.7753, 27.9071)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE408F #40CE7F
analogous
#C640CE #CE408F #CE4048
triadic
#CE408F #8FCE40 #408FCE
tetradic
#CE408F #CEC640 #40CE7F #4048CE
square
#CE408F #CEC640 #40CE7F #4048CE
split-complementary
#CE408F #48CE40 #40CEC6
monochromatic
#751E4F #A62B6F #CE408F #DA71AC #E7A1C8

Accessibility & contrast

On white

4.42
#CE408F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CE408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE408F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE408F#FFFFFF#000000##000000
##CE408F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#556891
Deuteranopia (green-blind)
#7E818C
Tritanopia (blue-blind)
#DD3862
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce408f;
/* rgb */ color: rgb(206, 64, 143);
/* oklch */ color: oklch(59.8% 0.193 350.3);
Tailwind
colors: {
  custom: {
    50: '#e17faf',
    500: '#ce408f',
    950: '#000000',
  },
}
SCSS
$custom: #ce408f;
$custom-light: #e17faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce408f",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 326.62,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.1931,
    "h": 350.3
  },
  "luminance": 0.18772
}

Semantic roles & 50–950 ramp

primary
#CE408F
secondary
#96D4B1
accent
#E28B45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CE408F

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

Preview Lab → · Contrast checker → · Palette generator →

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