#CD4879#CD4879

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

Color values

HEX#CD4879
RGBrgb(205, 72, 121)
HSLhsl(338, 57%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 64.9%, 41%, 19.6%)
CIE-LABlab(50.68, 56.54, 1.05)
CIE-LCHlch(50.68, 56.55, 1.07°)
OKLaboklab(59.74% 0.1729 0.0034)
OKLCHoklch(59.74% 0.173 1.1)
XYZxyz(30.9475, 18.9980, 20.1227)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4879 #48CD9C
analogous
#CD48BC #CD4879 #CD5A48
triadic
#CD4879 #79CD48 #4879CD
tetradic
#CD4879 #BCCD48 #48CD9C #5A48CD
square
#CD4879 #BCCD48 #48CD9C #5A48CD
split-complementary
#CD4879 #48CD5A #48BCCD
monochromatic
#792142 #A92E5C #CD4879 #DA789C #E7A8BF

Accessibility & contrast

On white

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

On black

4.80
#CD4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4879
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4879#FFFFFF#000000##000000
##CD48791.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#62687A
Deuteranopia (green-blind)
#858276
Tritanopia (blue-blind)
#DE395B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4879;
/* rgb */ color: rgb(205, 72, 121);
/* oklch */ color: oklch(59.7% 0.173 1.1);
Tailwind
colors: {
  custom: {
    50: '#e1839f',
    500: '#cd4879',
    950: '#000000',
  },
}
SCSS
$custom: #cd4879;
$custom-light: #e1839f;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4879",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 337.895,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59738,
    "c": 0.17292,
    "h": 1.1
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4879

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

Preview Lab → · Contrast checker → · Palette generator →

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