#CE408E#CE408E

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

Color values

HEX#CE408E
RGBrgb(206, 64, 142)
HSLhsl(327, 59%, 53%)
HSVhsv(327, 69%, 81%)
CMYKcmyk(0%, 68.9%, 31.1%, 19.2%)
CIE-LABlab(50.39, 62.30, -11.97)
CIE-LCHlch(50.39, 63.44, 349.12°)
OKLaboklab(59.77% 0.1901 -0.0311)
OKLCHoklch(59.77% 0.193 350.7)
XYZxyz(32.1711, 18.7452, 27.5099)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE408E #40CE80
analogous
#C740CE #CE408E #CE4047
triadic
#CE408E #8ECE40 #408ECE
tetradic
#CE408E #CEC740 #40CE80 #4047CE
square
#CE408E #CEC740 #40CE80 #4047CE
split-complementary
#CE408E #47CE40 #40CEC7
monochromatic
#751E4E #A62B6E #CE408E #DA71AB #E7A1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE408E#FFFFFF#000000##000000
##CE408E1.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)
#566890
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#DD3861
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce408e;
/* rgb */ color: rgb(206, 64, 142);
/* oklch */ color: oklch(59.8% 0.193 350.7);
Tailwind
colors: {
  custom: {
    50: '#e17faf',
    500: '#ce408e',
    950: '#000000',
  },
}
SCSS
$custom: #ce408e;
$custom-light: #e17faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce408e",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 327.042,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.1926,
    "h": 350.7
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE408E

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

Preview Lab → · Contrast checker → · Palette generator →

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