#CB407B#CB407B

#CB407B is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.182 H 358.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CB407B
RGBrgb(203, 64, 123)
HSLhsl(335, 57%, 52%)
HSVhsv(335, 68%, 80%)
CMYKcmyk(0%, 68.5%, 39.4%, 20.4%)
CIE-LABlab(49.25, 59.34, -2.30)
CIE-LCHlch(49.25, 59.38, 357.78°)
OKLaboklab(58.63% 0.1818 -0.0053)
OKLCHoklch(58.63% 0.182 358.3)
XYZxyz(30.0392, 17.7970, 20.5883)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB407B #40CB90
analogous
#CB40C1 #CB407B #CB4A40
triadic
#CB407B #7BCB40 #407BCB
tetradic
#CB407B #C1CB40 #40CB90 #4A40CB
square
#CB407B #C1CB40 #40CB90 #4A40CB
split-complementary
#CB407B #40CB4A #40C1CB
monochromatic
#721F42 #A22C5E #CB407B #D8709C #E5A0BD

Accessibility & contrast

On white

4.61
#CB407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CB407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB407B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB407B#FFFFFF#000000##FFFFFF
##CB407B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DB3058
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb407b;
/* rgb */ color: rgb(203, 64, 123);
/* oklch */ color: oklch(58.6% 0.182 358.3);
Tailwind
colors: {
  custom: {
    50: '#e07ea1',
    500: '#cb407b',
    950: '#000000',
  },
}
SCSS
$custom: #cb407b;
$custom-light: #e07ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb407b",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 334.532,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.18186,
    "h": 358.3
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#CB407B
secondary
#95D2B8
accent
#E09F47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB407B

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

Preview Lab → · Contrast checker → · Palette generator →

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