#CD4878#CD4878

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

Color values

HEX#CD4878
RGBrgb(205, 72, 120)
HSLhsl(338, 57%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.9%, 41.5%, 19.6%)
CIE-LABlab(50.66, 56.44, 1.61)
CIE-LCHlch(50.66, 56.46, 1.64°)
OKLaboklab(59.71% 0.1726 0.0048)
OKLCHoklch(59.71% 0.173 1.6)
XYZxyz(30.8865, 18.9736, 19.8014)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4878 #48CD9D
analogous
#CD48BB #CD4878 #CD5B48
triadic
#CD4878 #78CD48 #4878CD
tetradic
#CD4878 #BBCD48 #48CD9D #5B48CD
square
#CD4878 #BBCD48 #48CD9D #5B48CD
split-complementary
#CD4878 #48CD5B #48BBCD
monochromatic
#792141 #A92E5B #CD4878 #DA789B #E7A8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4878#FFFFFF#000000##000000
##CD48781.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)
#626879
Deuteranopia (green-blind)
#868275
Tritanopia (blue-blind)
#DE385B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4878;
/* rgb */ color: rgb(205, 72, 120);
/* oklch */ color: oklch(59.7% 0.173 1.6);
Tailwind
colors: {
  custom: {
    50: '#e1839e',
    500: '#cd4878',
    950: '#000000',
  },
}
SCSS
$custom: #cd4878;
$custom-light: #e1839e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4878",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 338.346,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.17262,
    "h": 1.6
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#CD4878
secondary
#9CD5C0
accent
#E0A947
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4878

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

Preview Lab → · Contrast checker → · Palette generator →

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