#CE408D#CE408D

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

Color values

HEX#CE408D
RGBrgb(206, 64, 141)
HSLhsl(327, 59%, 53%)
HSVhsv(327, 69%, 81%)
CMYKcmyk(0%, 68.9%, 31.6%, 19.2%)
CIE-LABlab(50.35, 62.18, -11.43)
CIE-LCHlch(50.35, 63.22, 349.58°)
OKLaboklab(59.73% 0.1898 -0.0296)
OKLCHoklch(59.73% 0.192 351.1)
XYZxyz(32.0964, 18.7153, 27.1163)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE408D #40CE81
analogous
#C840CE #CE408D #CE4046
triadic
#CE408D #8DCE40 #408DCE
tetradic
#CE408D #CEC840 #40CE81 #4046CE
square
#CE408D #CEC840 #40CE81 #4046CE
split-complementary
#CE408D #46CE40 #40CEC8
monochromatic
#751E4D #A62B6E #CE408D #DA71AA #E7A1C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE408D#FFFFFF#000000##000000
##CE408D1.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)
#56688F
Deuteranopia (green-blind)
#7E818A
Tritanopia (blue-blind)
#DD3761
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce408d;
/* rgb */ color: rgb(206, 64, 141);
/* oklch */ color: oklch(59.7% 0.192 351.1);
Tailwind
colors: {
  custom: {
    50: '#e17fae',
    500: '#ce408d',
    950: '#000000',
  },
}
SCSS
$custom: #ce408d;
$custom-light: #e17fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ce408d",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 327.465,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.19211,
    "h": 351.1
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#CE408D
secondary
#96D4B2
accent
#E28D45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CE408D

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

Preview Lab → · Contrast checker → · Palette generator →

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