#CB478B#CB478B

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

Color values

HEX#CB478B
RGBrgb(203, 71, 139)
HSLhsl(329, 56%, 54%)
HSVhsv(329, 65%, 80%)
CMYKcmyk(0%, 65%, 31.5%, 20.4%)
CIE-LABlab(50.77, 58.37, -9.66)
CIE-LCHlch(50.77, 59.17, 350.61°)
OKLaboklab(59.92% 0.178 -0.0249)
OKLCHoklch(59.92% 0.18 352)
XYZxyz(31.5436, 19.0705, 26.4409)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB478B #47CB87
analogous
#C947CB #CB478B #CB4749
triadic
#CB478B #8BCB47 #478BCB
tetradic
#CB478B #CBC947 #47CB87 #4749CB
square
#CB478B #CBC947 #47CB87 #4749CB
split-complementary
#CB478B #49CB47 #47CBC9
monochromatic
#76214D #A62F6C #CB478B #D877A9 #E6A6C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB478B#FFFFFF#000000##000000
##CB478B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb478b;
/* rgb */ color: rgb(203, 71, 139);
/* oklch */ color: oklch(59.9% 0.180 352.0);
Tailwind
colors: {
  custom: {
    50: '#df82ac',
    500: '#cb478b',
    950: '#000000',
  },
}
SCSS
$custom: #cb478b;
$custom-light: #df82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb478b",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 329.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.17968,
    "h": 352
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB478B

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

Preview Lab → · Contrast checker → · Palette generator →

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