#CB477D#CB477D

#CB477D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.174 H 358.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB477D
RGBrgb(203, 71, 125)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65%, 38.4%, 20.4%)
CIE-LABlab(50.32, 56.77, -1.93)
CIE-LCHlch(50.32, 56.81, 358.05°)
OKLaboklab(59.44% 0.1737 -0.0043)
OKLCHoklch(59.44% 0.174 358.6)
XYZxyz(30.5854, 18.6872, 21.3944)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477D #47CB95
analogous
#CB47BF #CB477D #CB5347
triadic
#CB477D #7DCB47 #477DCB
tetradic
#CB477D #BFCB47 #47CB95 #5347CB
square
#CB477D #BFCB47 #47CB95 #5347CB
split-complementary
#CB477D #47CB53 #47BFCB
monochromatic
#762144 #A62F60 #CB477D #D8779F #E6A6C0

Accessibility & contrast

On white

4.43
#CB477D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CB477D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB477D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB477D#FFFFFF#000000##000000
##CB477D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F687E
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#DB3A5D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb477d;
/* rgb */ color: rgb(203, 71, 125);
/* oklch */ color: oklch(59.4% 0.174 358.6);
Tailwind
colors: {
  custom: {
    50: '#df82a2',
    500: '#cb477d',
    950: '#000000',
  },
}
SCSS
$custom: #cb477d;
$custom-light: #df82a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477d",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 335.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.17371,
    "h": 358.6
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#CB477D
secondary
#9BD3BC
accent
#DFA249
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CB477D

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

Preview Lab → · Contrast checker → · Palette generator →

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