#CB477E#CB477E

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

Color values

HEX#CB477E
RGBrgb(203, 71, 126)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65%, 37.9%, 20.4%)
CIE-LABlab(50.35, 56.88, -2.49)
CIE-LCHlch(50.35, 56.94, 357.50°)
OKLaboklab(59.47% 0.174 -0.0058)
OKLCHoklch(59.47% 0.174 358.1)
XYZxyz(30.6496, 18.7129, 21.7325)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477E #47CB94
analogous
#CB47C0 #CB477E #CB5247
triadic
#CB477E #7ECB47 #477ECB
tetradic
#CB477E #C0CB47 #47CB94 #5247CB
square
#CB477E #C0CB47 #47CB94 #5247CB
split-complementary
#CB477E #47CB52 #47C0CB
monochromatic
#762145 #A62F60 #CB477E #D8779F #E6A6C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB477E#FFFFFF#000000##000000
##CB477E1.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)
#5F6880
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#DB3A5D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb477e;
/* rgb */ color: rgb(203, 71, 126);
/* oklch */ color: oklch(59.5% 0.174 358.1);
Tailwind
colors: {
  custom: {
    50: '#df82a3',
    500: '#cb477e',
    950: '#000000',
  },
}
SCSS
$custom: #cb477e;
$custom-light: #df82a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477e",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 335,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.17409,
    "h": 358.1
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#CB477E
secondary
#9BD3BC
accent
#DFA049
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB477E

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

Preview Lab → · Contrast checker → · Palette generator →

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