#CB477C#CB477C

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

Color values

HEX#CB477C
RGBrgb(203, 71, 124)
HSLhsl(336, 56%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65%, 38.9%, 20.4%)
CIE-LABlab(50.29, 56.67, -1.37)
CIE-LCHlch(50.29, 56.68, 358.61°)
OKLaboklab(59.41% 0.1733 -0.0029)
OKLCHoklch(59.41% 0.173 359)
XYZxyz(30.5219, 18.6618, 21.0596)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477C #47CB96
analogous
#CB47BE #CB477C #CB5447
triadic
#CB477C #7CCB47 #477CCB
tetradic
#CB477C #BECB47 #47CB96 #5447CB
square
#CB477C #BECB47 #47CB96 #5447CB
split-complementary
#CB477C #47CB54 #47BECB
monochromatic
#762143 #A62F5F #CB477C #D8779E #E6A6C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB477C#FFFFFF#000000##000000
##CB477C1.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)
#60687D
Deuteranopia (green-blind)
#838179
Tritanopia (blue-blind)
#DB395C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb477c;
/* rgb */ color: rgb(203, 71, 124);
/* oklch */ color: oklch(59.4% 0.173 359.0);
Tailwind
colors: {
  custom: {
    50: '#df82a1',
    500: '#cb477c',
    950: '#000000',
  },
}
SCSS
$custom: #cb477c;
$custom-light: #df82a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477c",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 335.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.17335,
    "h": 359
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB477C

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

Preview Lab → · Contrast checker → · Palette generator →

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