#CB408D#CB408D

#CB408D is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.190 H 350.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB408D
RGBrgb(203, 64, 141)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68.5%, 30.5%, 20.4%)
CIE-LABlab(49.85, 61.36, -12.24)
CIE-LCHlch(49.85, 62.57, 348.71°)
OKLaboklab(59.27% 0.1871 -0.0319)
OKLCHoklch(59.27% 0.19 350.3)
XYZxyz(31.2713, 18.2898, 27.0776)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB408D #40CB7E
analogous
#C440CB #CB408D #CB4047
triadic
#CB408D #8DCB40 #408DCB
tetradic
#CB408D #CBC440 #40CB7E #4047CB
square
#CB408D #CBC440 #40CB7E #4047CB
split-complementary
#CB408D #47CB40 #40CBC4
monochromatic
#721F4D #A22C6D #CB408D #D870AA #E5A0C6

Accessibility & contrast

On white

4.51
#CB408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CB408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB408D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB408D#FFFFFF#000000##000000
##CB408D1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#7C808A
Tritanopia (blue-blind)
#DA3861
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb408d;
/* rgb */ color: rgb(203, 64, 141);
/* oklch */ color: oklch(59.3% 0.190 350.3);
Tailwind
colors: {
  custom: {
    50: '#df7fae',
    500: '#cb408d',
    950: '#000000',
  },
}
SCSS
$custom: #cb408d;
$custom-light: #df7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cb408d",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 326.763,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.18975,
    "h": 350.3
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#CB408D
secondary
#95D2B0
accent
#E08C47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB408D

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

Preview Lab → · Contrast checker → · Palette generator →

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