#CB478A#CB478A

#CB478A is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.9% C 0.179 H 352.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CB478A
RGBrgb(203, 71, 138)
HSLhsl(330, 56%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65%, 32%, 20.4%)
CIE-LABlab(50.74, 58.25, -9.11)
CIE-LCHlch(50.74, 58.96, 351.11°)
OKLaboklab(59.89% 0.1777 -0.0234)
OKLCHoklch(59.89% 0.179 352.5)
XYZxyz(31.4709, 19.0414, 26.0578)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB478A #47CB88
analogous
#CA47CB #CB478A #CB4748
triadic
#CB478A #8ACB47 #478ACB
tetradic
#CB478A #CBCA47 #47CB88 #4748CB
square
#CB478A #CBCA47 #47CB88 #4748CB
split-complementary
#CB478A #48CB47 #47CBCA
monochromatic
#76214C #A62F6B #CB478A #D877A8 #E6A6C7

Accessibility & contrast

On white

4.37
#CB478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CB478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB478A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB478A#FFFFFF#000000##000000
##CB478A1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#808287
Tritanopia (blue-blind)
#DA3F63
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb478a;
/* rgb */ color: rgb(203, 71, 138);
/* oklch */ color: oklch(59.9% 0.179 352.5);
Tailwind
colors: {
  custom: {
    50: '#df82ac',
    500: '#cb478a',
    950: '#000000',
  },
}
SCSS
$custom: #cb478a;
$custom-light: #df82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb478a",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 329.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.17921,
    "h": 352.5
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#CB478A
secondary
#9BD3B6
accent
#DF9349
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB478A

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

Preview Lab → · Contrast checker → · Palette generator →

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