#CB5478#CB5478

#CB5478 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 60.9% C 0.154 H 4.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB5478
RGBrgb(203, 84, 120)
HSLhsl(342, 53%, 56%)
HSVhsv(342, 59%, 80%)
CMYKcmyk(0%, 58.6%, 40.9%, 20.4%)
CIE-LABlab(52.28, 50.56, 3.93)
CIE-LCHlch(52.28, 50.71, 4.44°)
OKLaboklab(60.86% 0.1541 0.0107)
OKLCHoklch(60.86% 0.154 4)
XYZxyz(31.1911, 20.3967, 20.0600)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5478 #54CBA7
analogous
#CB54B4 #CB5478 #CB6C54
triadic
#CB5478 #78CB54 #5478CB
tetradic
#CB5478 #B4CB54 #54CBA7 #6C54CB
square
#CB5478 #B4CB54 #54CBA7 #6C54CB
split-complementary
#CB5478 #54CB6C #54B4CB
monochromatic
#7E2641 #AD3559 #CB5478 #D9839D #E8B2C2

Accessibility & contrast

On white

4.13
#CB5478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5478
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5478#FFFFFF#000000##000000
##CB54781.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6E79
Deuteranopia (green-blind)
#8A8575
Tritanopia (blue-blind)
#DB4762
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5478;
/* rgb */ color: rgb(203, 84, 120);
/* oklch */ color: oklch(60.9% 0.154 4.0);
Tailwind
colors: {
  custom: {
    50: '#df899e',
    500: '#cb5478',
    950: '#000000',
  },
}
SCSS
$custom: #cb5478;
$custom-light: #df899e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5478",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 341.849,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.15445,
    "h": 4
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#CB5478
secondary
#A5D6C7
accent
#DDB14B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5478

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

Preview Lab → · Contrast checker → · Palette generator →

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