#CB477F#CB477F

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

Color values

HEX#CB477F
RGBrgb(203, 71, 127)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65%, 37.4%, 20.4%)
CIE-LABlab(50.38, 56.99, -3.04)
CIE-LCHlch(50.38, 57.07, 356.94°)
OKLaboklab(59.51% 0.1743 -0.0073)
OKLCHoklch(59.51% 0.174 357.6)
XYZxyz(30.7145, 18.7388, 22.0740)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB477F #47CB93
analogous
#CB47C1 #CB477F #CB5147
triadic
#CB477F #7FCB47 #477FCB
tetradic
#CB477F #C1CB47 #47CB93 #5147CB
square
#CB477F #C1CB47 #47CB93 #5147CB
split-complementary
#CB477F #47CB51 #47C1CB
monochromatic
#762145 #A62F61 #CB477F #D877A0 #E6A6C1

Accessibility & contrast

On white

4.42
#CB477F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB477F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB477F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB477F#FFFFFF#000000##000000
##CB477F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#DB3B5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb477f;
/* rgb */ color: rgb(203, 71, 127);
/* oklch */ color: oklch(59.5% 0.174 357.6);
Tailwind
colors: {
  custom: {
    50: '#df82a4',
    500: '#cb477f',
    950: '#000000',
  },
}
SCSS
$custom: #cb477f;
$custom-light: #df82a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb477f",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 334.545,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.17446,
    "h": 357.6
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

primary
#CB477F
secondary
#9BD3BB
accent
#DF9F49
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB477F

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

Preview Lab → · Contrast checker → · Palette generator →

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