#CB477A#CB477A

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

Color values

HEX#CB477A
RGBrgb(203, 71, 122)
HSLhsl(337, 56%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 65%, 39.9%, 20.4%)
CIE-LABlab(50.23, 56.45, -0.25)
CIE-LCHlch(50.23, 56.45, 359.74°)
OKLaboklab(59.35% 0.1727 0)
OKLCHoklch(59.35% 0.173 0)
XYZxyz(30.3967, 18.6117, 20.4003)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477A #47CB98
analogous
#CB47BC #CB477A #CB5647
triadic
#CB477A #7ACB47 #477ACB
tetradic
#CB477A #BCCB47 #47CB98 #5647CB
square
#CB477A #BCCB47 #47CB98 #5647CB
split-complementary
#CB477A #47CB56 #47BCCB
monochromatic
#762142 #A62F5D #CB477A #D8779C #E6A6BF

Accessibility & contrast

On white

4.45
#CB477A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB477A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB477A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB477A#FFFFFF#000000##000000
##CB477A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687B
Deuteranopia (green-blind)
#848177
Tritanopia (blue-blind)
#DB395B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb477a;
/* rgb */ color: rgb(203, 71, 122);
/* oklch */ color: oklch(59.3% 0.173 0.0);
Tailwind
colors: {
  custom: {
    50: '#df82a0',
    500: '#cb477a',
    950: '#000000',
  },
}
SCSS
$custom: #cb477a;
$custom-light: #df82a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477a",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 336.818,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.17267,
    "h": 0
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#CB477A
secondary
#9BD3BD
accent
#DFA549
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB477A

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

Preview Lab → · Contrast checker → · Palette generator →

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