#CB406F#CB406F

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

Color values

HEX#CB406F
RGBrgb(203, 64, 111)
HSLhsl(340, 57%, 52%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 68.5%, 45.3%, 20.4%)
CIE-LABlab(48.90, 58.14, 4.48)
CIE-LCHlch(48.90, 58.31, 4.40°)
OKLaboklab(58.26% 0.1777 0.0121)
OKLCHoklch(58.26% 0.178 3.9)
XYZxyz(29.3335, 17.5147, 16.8718)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB406F #40CB9C
analogous
#CB40B5 #CB406F #CB5640
triadic
#CB406F #6FCB40 #406FCB
tetradic
#CB406F #B5CB40 #40CB9C #5640CB
square
#CB406F #B5CB40 #40CB9C #5640CB
split-complementary
#CB406F #40CB56 #40B5CB
monochromatic
#721F3B #A22C54 #CB406F #D87093 #E5A0B8

Accessibility & contrast

On white

4.66
#CB406F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB406F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB406F#FFFFFF#000000##FFFFFF
##CB406F1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb406f;
/* rgb */ color: rgb(203, 64, 111);
/* oklch */ color: oklch(58.3% 0.178 3.9);
Tailwind
colors: {
  custom: {
    50: '#e07e98',
    500: '#cb406f',
    950: '#000000',
  },
}
SCSS
$custom: #cb406f;
$custom-light: #e07e98;
$custom-dark: #000000;
JSON
{
  "hex": "#cb406f",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 339.712,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.17812,
    "h": 3.9
  },
  "luminance": 0.17511
}

Semantic roles & 50–950 ramp

primary
#CB406F
secondary
#95D2BD
accent
#E0AD47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB406F

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

Preview Lab → · Contrast checker → · Palette generator →

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