#CB4877#CB4877

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

Color values

HEX#CB4877
RGBrgb(203, 72, 119)
HSLhsl(338, 56%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.5%, 41.4%, 20.4%)
CIE-LABlab(50.30, 55.73, 1.65)
CIE-LCHlch(50.30, 55.75, 1.70°)
OKLaboklab(59.37% 0.1703 0.0049)
OKLCHoklch(59.37% 0.17 1.7)
XYZxyz(30.2778, 18.6667, 19.4578)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4877 #48CB9C
analogous
#CB48B9 #CB4877 #CB5B48
triadic
#CB4877 #77CB48 #4877CB
tetradic
#CB4877 #B9CB48 #48CB9C #5B48CB
square
#CB4877 #B9CB48 #48CB9C #5B48CB
split-complementary
#CB4877 #48CB5B #48B9CB
monochromatic
#772240 #A62F5A #CB4877 #D9789A #E6A7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4877#FFFFFF#000000##000000
##CB48771.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)
#626878
Deuteranopia (green-blind)
#858174
Tritanopia (blue-blind)
#DB395B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4877;
/* rgb */ color: rgb(203, 72, 119);
/* oklch */ color: oklch(59.4% 0.170 1.7);
Tailwind
colors: {
  custom: {
    50: '#e0829e',
    500: '#cb4877',
    950: '#000000',
  },
}
SCSS
$custom: #cb4877;
$custom-light: #e0829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4877",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 338.473,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.1704,
    "h": 1.7
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#CB4877
secondary
#9BD3BF
accent
#DFA949
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4877

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

Preview Lab → · Contrast checker → · Palette generator →

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