#CB5477#CB5477

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

Color values

HEX#CB5477
RGBrgb(203, 84, 119)
HSLhsl(342, 53%, 56%)
HSVhsv(342, 59%, 80%)
CMYKcmyk(0%, 58.6%, 41.4%, 20.4%)
CIE-LABlab(52.26, 50.45, 4.48)
CIE-LCHlch(52.26, 50.65, 5.08°)
OKLaboklab(60.83% 0.1537 0.0122)
OKLCHoklch(60.83% 0.154 4.5)
XYZxyz(31.1307, 20.3725, 19.7421)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5477 #54CBA8
analogous
#CB54B3 #CB5477 #CB6D54
triadic
#CB5477 #77CB54 #5477CB
tetradic
#CB5477 #B3CB54 #54CBA8 #6D54CB
square
#CB5477 #B3CB54 #54CBA8 #6D54CB
split-complementary
#CB5477 #54CB6D #54B3CB
monochromatic
#7E2640 #AD3558 #CB5477 #D9839C #E8B2C2

Accessibility & contrast

On white

4.14
#CB5477 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB5477 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5477
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5477#FFFFFF#000000##000000
##CB54771.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6E78
Deuteranopia (green-blind)
#8A8574
Tritanopia (blue-blind)
#DB4761
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb5477;
/* rgb */ color: rgb(203, 84, 119);
/* oklch */ color: oklch(60.8% 0.154 4.5);
Tailwind
colors: {
  custom: {
    50: '#df899e',
    500: '#cb5477',
    950: '#000000',
  },
}
SCSS
$custom: #cb5477;
$custom-light: #df899e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5477",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 342.353,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60827,
    "c": 0.15419,
    "h": 4.5
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5477

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

Preview Lab → · Contrast checker → · Palette generator →

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