#CB406E#CB406E

#CB406E is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.2% C 0.178 H 4.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CB406E
RGBrgb(203, 64, 110)
HSLhsl(340, 57%, 52%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 68.5%, 45.8%, 20.4%)
CIE-LABlab(48.88, 58.05, 5.05)
CIE-LCHlch(48.88, 58.27, 4.97°)
OKLaboklab(58.23% 0.1774 0.0136)
OKLCHoklch(58.23% 0.178 4.4)
XYZxyz(29.2787, 17.4928, 16.5835)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB406E #40CB9D
analogous
#CB40B4 #CB406E #CB5840
triadic
#CB406E #6ECB40 #406ECB
tetradic
#CB406E #B4CB40 #40CB9D #5840CB
square
#CB406E #B4CB40 #40CB9D #5840CB
split-complementary
#CB406E #40CB58 #40B4CB
monochromatic
#721F3A #A22C53 #CB406E #D87093 #E5A0B7

Accessibility & contrast

On white

4.67
#CB406E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CB406E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB406E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB406E#FFFFFF#000000##FFFFFF
##CB406E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E636F
Deuteranopia (green-blind)
#837E6B
Tritanopia (blue-blind)
#DC2B53
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb406e;
/* rgb */ color: rgb(203, 64, 110);
/* oklch */ color: oklch(58.2% 0.178 4.4);
Tailwind
colors: {
  custom: {
    50: '#e07e97',
    500: '#cb406e',
    950: '#000000',
  },
}
SCSS
$custom: #cb406e;
$custom-light: #e07e97;
$custom-dark: #000000;
JSON
{
  "hex": "#cb406e",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 340.144,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.17788,
    "h": 4.4
  },
  "luminance": 0.17489
}

Semantic roles & 50–950 ramp

primary
#CB406E
secondary
#95D2BE
accent
#E0AE47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB406E

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

Preview Lab → · Contrast checker → · Palette generator →

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