#CB478C#CB478C

#CB478C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.0% C 0.180 H 351.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB478C
RGBrgb(203, 71, 140)
HSLhsl(329, 56%, 54%)
HSVhsv(329, 65%, 80%)
CMYKcmyk(0%, 65%, 31%, 20.4%)
CIE-LABlab(50.80, 58.49, -10.20)
CIE-LCHlch(50.80, 59.38, 350.11°)
OKLaboklab(59.96% 0.1782 -0.0264)
OKLCHoklch(59.96% 0.18 351.6)
XYZxyz(31.6170, 19.0998, 26.8274)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB478C #47CB86
analogous
#C847CB #CB478C #CB474A
triadic
#CB478C #8CCB47 #478CCB
tetradic
#CB478C #CBC847 #47CB86 #474ACB
square
#CB478C #CBC847 #47CB86 #474ACB
split-complementary
#CB478C #4ACB47 #47CBC8
monochromatic
#76214E #A62F6D #CB478C #D877AA #E6A6C8

Accessibility & contrast

On white

4.36
#CB478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CB478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB478C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB478C#FFFFFF#000000##000000
##CB478C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#7F8289
Tritanopia (blue-blind)
#DA4063
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb478c;
/* rgb */ color: rgb(203, 71, 140);
/* oklch */ color: oklch(60.0% 0.180 351.6);
Tailwind
colors: {
  custom: {
    50: '#df82ad',
    500: '#cb478c',
    950: '#000000',
  },
}
SCSS
$custom: #cb478c;
$custom-light: #df82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb478c",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 328.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.18017,
    "h": 351.6
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB478C

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

Preview Lab → · Contrast checker → · Palette generator →

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