#CB406A#CB406A

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

Color values

HEX#CB406A
RGBrgb(203, 64, 106)
HSLhsl(342, 57%, 52%)
HSVhsv(342, 68%, 80%)
CMYKcmyk(0%, 68.5%, 47.8%, 20.4%)
CIE-LABlab(48.77, 57.68, 7.33)
CIE-LCHlch(48.77, 58.15, 7.24°)
OKLaboklab(58.12% 0.1759 0.0193)
OKLCHoklch(58.12% 0.177 6.2)
XYZxyz(29.0659, 17.4077, 15.4623)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB406A #40CBA1
analogous
#CB40AF #CB406A #CB5C40
triadic
#CB406A #6ACB40 #406ACB
tetradic
#CB406A #AFCB40 #40CBA1 #5C40CB
square
#CB406A #AFCB40 #40CBA1 #5C40CB
split-complementary
#CB406A #40CB5C #40AFCB
monochromatic
#721F38 #A22C50 #CB406A #D87090 #E5A0B5

Accessibility & contrast

On white

4.69
#CB406A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB406A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB406A#FFFFFF#000000##FFFFFF
##CB406A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb406a;
/* rgb */ color: rgb(203, 64, 106);
/* oklch */ color: oklch(58.1% 0.177 6.2);
Tailwind
colors: {
  custom: {
    50: '#e07e94',
    500: '#cb406a',
    950: '#000000',
  },
}
SCSS
$custom: #cb406a;
$custom-light: #e07e94;
$custom-dark: #000000;
JSON
{
  "hex": "#cb406a",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 341.871,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58119,
    "c": 0.17696,
    "h": 6.2
  },
  "luminance": 0.17404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB406A

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

Preview Lab → · Contrast checker → · Palette generator →

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