#CB408F#CB408F

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

Color values

HEX#CB408F
RGBrgb(203, 64, 143)
HSLhsl(326, 57%, 52%)
HSVhsv(326, 68%, 80%)
CMYKcmyk(0%, 68.5%, 29.6%, 20.4%)
CIE-LABlab(49.92, 61.60, -13.33)
CIE-LCHlch(49.92, 63.02, 347.79°)
OKLaboklab(59.34% 0.1876 -0.0348)
OKLCHoklch(59.34% 0.191 349.5)
XYZxyz(31.4215, 18.3499, 27.8684)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB408F #40CB7C
analogous
#C140CB #CB408F #CB404A
triadic
#CB408F #8FCB40 #408FCB
tetradic
#CB408F #CBC140 #40CB7C #404ACB
square
#CB408F #CBC140 #40CB7C #404ACB
split-complementary
#CB408F #4ACB40 #40CBC1
monochromatic
#721F4E #A22C6F #CB408F #D870AB #E5A0C7

Accessibility & contrast

On white

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

On black

4.67
#CB408F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB408F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB408F#FFFFFF#000000##000000
##CB408F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#7C808C
Tritanopia (blue-blind)
#D93962
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb408f;
/* rgb */ color: rgb(203, 64, 143);
/* oklch */ color: oklch(59.3% 0.191 349.5);
Tailwind
colors: {
  custom: {
    50: '#df7faf',
    500: '#cb408f',
    950: '#000000',
  },
}
SCSS
$custom: #cb408f;
$custom-light: #df7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb408f",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 325.899,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.19078,
    "h": 349.5
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#CB408F
secondary
#95D2AF
accent
#E08947
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB408F

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

Preview Lab → · Contrast checker → · Palette generator →

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