#CB408B#CB408B

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

Color values

HEX#CB408B
RGBrgb(203, 64, 139)
HSLhsl(328, 57%, 52%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68.5%, 31.5%, 20.4%)
CIE-LABlab(49.77, 61.12, -11.15)
CIE-LCHlch(49.77, 62.13, 349.66°)
OKLaboklab(59.19% 0.1865 -0.0289)
OKLCHoklch(59.19% 0.189 351.2)
XYZxyz(31.1238, 18.2308, 26.3009)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB408B #40CB80
analogous
#C640CB #CB408B #CB4045
triadic
#CB408B #8BCB40 #408BCB
tetradic
#CB408B #CBC640 #40CB80 #4045CB
square
#CB408B #CBC640 #40CB80 #4045CB
split-complementary
#CB408B #45CB40 #40CBC6
monochromatic
#721F4C #A22C6C #CB408B #D870A8 #E5A0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB408B#FFFFFF#000000##000000
##CB408B1.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)
#56678D
Deuteranopia (green-blind)
#7D7F88
Tritanopia (blue-blind)
#DA3860
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb408b;
/* rgb */ color: rgb(203, 64, 139);
/* oklch */ color: oklch(59.2% 0.189 351.2);
Tailwind
colors: {
  custom: {
    50: '#df7fac',
    500: '#cb408b',
    950: '#000000',
  },
}
SCSS
$custom: #cb408b;
$custom-light: #df7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb408b",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 327.626,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.18875,
    "h": 351.2
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#CB408B
secondary
#95D2B1
accent
#E08E47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB408B

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

Preview Lab → · Contrast checker → · Palette generator →

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