#CB408A#CB408A

#CB408A is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.188 H 351.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CB408A
RGBrgb(203, 64, 138)
HSLhsl(328, 57%, 52%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68.5%, 32%, 20.4%)
CIE-LABlab(49.74, 61.00, -10.60)
CIE-LCHlch(49.74, 61.92, 350.14°)
OKLaboklab(59.15% 0.1863 -0.0274)
OKLCHoklch(59.15% 0.188 351.6)
XYZxyz(31.0511, 18.2018, 25.9179)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB408A #40CB81
analogous
#C740CB #CB408A #CB4044
triadic
#CB408A #8ACB40 #408ACB
tetradic
#CB408A #CBC740 #40CB81 #4044CB
square
#CB408A #CBC740 #40CB81 #4044CB
split-complementary
#CB408A #44CB40 #40CBC7
monochromatic
#721F4B #A22C6B #CB408A #D870A7 #E5A0C5

Accessibility & contrast

On white

4.53
#CB408A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CB408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB408A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB408A#FFFFFF#000000##000000
##CB408A1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#56668C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DA375F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb408a;
/* rgb */ color: rgb(203, 64, 138);
/* oklch */ color: oklch(59.2% 0.188 351.6);
Tailwind
colors: {
  custom: {
    50: '#df7fac',
    500: '#cb408a',
    950: '#000000',
  },
}
SCSS
$custom: #cb408a;
$custom-light: #df7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb408a",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 328.058,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.18826,
    "h": 351.6
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#CB408A
secondary
#95D2B1
accent
#E08F47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB408A

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

Preview Lab → · Contrast checker → · Palette generator →

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