#CB406B#CB406B

#CB406B is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.177 H 5.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB406B
RGBrgb(203, 64, 107)
HSLhsl(341, 57%, 52%)
HSVhsv(341, 68%, 80%)
CMYKcmyk(0%, 68.5%, 47.3%, 20.4%)
CIE-LABlab(48.80, 57.77, 6.76)
CIE-LCHlch(48.80, 58.17, 6.67°)
OKLaboklab(58.15% 0.1763 0.0178)
OKLCHoklch(58.15% 0.177 5.8)
XYZxyz(29.1182, 17.4286, 15.7378)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB406B #40CBA0
analogous
#CB40B1 #CB406B #CB5B40
triadic
#CB406B #6BCB40 #406BCB
tetradic
#CB406B #B1CB40 #40CBA0 #5B40CB
square
#CB406B #B1CB40 #40CBA0 #5B40CB
split-complementary
#CB406B #40CB5B #40B1CB
monochromatic
#721F39 #A22C50 #CB406B #D87090 #E5A0B6

Accessibility & contrast

On white

4.68
#CB406B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CB406B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB406B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB406B#FFFFFF#000000##FFFFFF
##CB406B1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F626C
Deuteranopia (green-blind)
#847E68
Tritanopia (blue-blind)
#DD2951
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb406b;
/* rgb */ color: rgb(203, 64, 107);
/* oklch */ color: oklch(58.1% 0.177 5.8);
Tailwind
colors: {
  custom: {
    50: '#e07e95',
    500: '#cb406b',
    950: '#000000',
  },
}
SCSS
$custom: #cb406b;
$custom-light: #e07e95;
$custom-dark: #000000;
JSON
{
  "hex": "#cb406b",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 107
  },
  "hsl": {
    "h": 341.439,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.17717,
    "h": 5.8
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#CB406B
secondary
#95D2BF
accent
#E0B147
background
#FEF8F9
surface
#FDEFF1
border
#D5CACB
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB406B

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

Preview Lab → · Contrast checker → · Palette generator →

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