#CB408E#CB408E

#CB408E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.190 H 349.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB408E
RGBrgb(203, 64, 142)
HSLhsl(326, 57%, 52%)
HSVhsv(326, 68%, 80%)
CMYKcmyk(0%, 68.5%, 30%, 20.4%)
CIE-LABlab(49.88, 61.48, -12.79)
CIE-LCHlch(49.88, 62.79, 348.25°)
OKLaboklab(59.3% 0.1873 -0.0334)
OKLCHoklch(59.3% 0.19 349.9)
XYZxyz(31.3460, 18.3197, 27.4712)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB408E #40CB7D
analogous
#C340CB #CB408E #CB4048
triadic
#CB408E #8ECB40 #408ECB
tetradic
#CB408E #CBC340 #40CB7D #4048CB
square
#CB408E #CBC340 #40CB7D #4048CB
split-complementary
#CB408E #48CB40 #40CBC3
monochromatic
#721F4D #A22C6E #CB408E #D870AA #E5A0C7

Accessibility & contrast

On white

4.50
#CB408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CB408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB408E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB408E#FFFFFF#000000##000000
##CB408E1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#DA3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb408e;
/* rgb */ color: rgb(203, 64, 142);
/* oklch */ color: oklch(59.3% 0.190 349.9);
Tailwind
colors: {
  custom: {
    50: '#df7faf',
    500: '#cb408e',
    950: '#000000',
  },
}
SCSS
$custom: #cb408e;
$custom-light: #df7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb408e",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 326.331,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.19026,
    "h": 349.9
  },
  "luminance": 0.18316
}

Semantic roles & 50–950 ramp

primary
#CB408E
secondary
#95D2B0
accent
#E08B47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB408E

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

Preview Lab → · Contrast checker → · Palette generator →

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