#CB477B#CB477B

#CB477B is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.173 H 359.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB477B
RGBrgb(203, 71, 123)
HSLhsl(336, 56%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65%, 39.4%, 20.4%)
CIE-LABlab(50.26, 56.56, -0.81)
CIE-LCHlch(50.26, 56.57, 359.18°)
OKLaboklab(59.38% 0.173 -0.0014)
OKLCHoklch(59.38% 0.173 359.5)
XYZxyz(30.4590, 18.6366, 20.7283)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477B #47CB97
analogous
#CB47BD #CB477B #CB5547
triadic
#CB477B #7BCB47 #477BCB
tetradic
#CB477B #BDCB47 #47CB97 #5547CB
square
#CB477B #BDCB47 #47CB97 #5547CB
split-complementary
#CB477B #47CB55 #47BDCB
monochromatic
#762143 #A62F5E #CB477B #D8779D #E6A6BF

Accessibility & contrast

On white

4.44
#CB477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB477B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB477B#FFFFFF#000000##000000
##CB477B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687C
Deuteranopia (green-blind)
#838178
Tritanopia (blue-blind)
#DB395C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb477b;
/* rgb */ color: rgb(203, 71, 123);
/* oklch */ color: oklch(59.4% 0.173 359.5);
Tailwind
colors: {
  custom: {
    50: '#df82a1',
    500: '#cb477b',
    950: '#000000',
  },
}
SCSS
$custom: #cb477b;
$custom-light: #df82a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477b",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 336.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.17301,
    "h": 359.5
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#CB477B
secondary
#9BD3BD
accent
#DFA449
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB477B

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

Preview Lab → · Contrast checker → · Palette generator →

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