#CD4877#CD4877

#CD4877 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.172 H 2.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD4877
RGBrgb(205, 72, 119)
HSLhsl(339, 57%, 54%)
HSVhsv(339, 65%, 80%)
CMYKcmyk(0%, 64.9%, 42%, 19.6%)
CIE-LABlab(50.63, 56.34, 2.17)
CIE-LCHlch(50.63, 56.38, 2.21°)
OKLaboklab(59.68% 0.1722 0.0063)
OKLCHoklch(59.68% 0.172 2.1)
XYZxyz(30.8261, 18.9495, 19.4835)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4877 #48CD9E
analogous
#CD48BA #CD4877 #CD5C48
triadic
#CD4877 #77CD48 #4877CD
tetradic
#CD4877 #BACD48 #48CD9E #5C48CD
square
#CD4877 #BACD48 #48CD9E #5C48CD
split-complementary
#CD4877 #48CD5C #48BACD
monochromatic
#792140 #A92E5A #CD4877 #DA789B #E7A8BE

Accessibility & contrast

On white

4.38
#CD4877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CD4877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4877
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4877#FFFFFF#000000##000000
##CD48771.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626878
Deuteranopia (green-blind)
#868274
Tritanopia (blue-blind)
#DE385B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4877;
/* rgb */ color: rgb(205, 72, 119);
/* oklch */ color: oklch(59.7% 0.172 2.1);
Tailwind
colors: {
  custom: {
    50: '#e1839e',
    500: '#cd4877',
    950: '#000000',
  },
}
SCSS
$custom: #cd4877;
$custom-light: #e1839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4877",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 338.797,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.17232,
    "h": 2.1
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#CD4877
secondary
#9CD5C1
accent
#E0AA47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4877

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

Preview Lab → · Contrast checker → · Palette generator →

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