#CD4872#CD4872

#CD4872 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 4.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD4872
RGBrgb(205, 72, 114)
HSLhsl(341, 57%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.9%, 44.4%, 19.6%)
CIE-LABlab(50.49, 55.84, 4.99)
CIE-LCHlch(50.49, 56.06, 5.10°)
OKLaboklab(59.53% 0.1704 0.0134)
OKLCHoklch(59.53% 0.171 4.5)
XYZxyz(30.5337, 18.8325, 17.9434)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4872 #48CDA3
analogous
#CD48B4 #CD4872 #CD6148
triadic
#CD4872 #72CD48 #4872CD
tetradic
#CD4872 #B4CD48 #48CDA3 #6148CD
square
#CD4872 #B4CD48 #48CDA3 #6148CD
split-complementary
#CD4872 #48CD61 #48B4CD
monochromatic
#79213D #A92E55 #CD4872 #DA7897 #E7A8BC

Accessibility & contrast

On white

4.41
#CD4872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CD4872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4872
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4872#FFFFFF#000000##000000
##CD48721.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#646873
Deuteranopia (green-blind)
#87826F
Tritanopia (blue-blind)
#DE3659
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4872;
/* rgb */ color: rgb(205, 72, 114);
/* oklch */ color: oklch(59.5% 0.171 4.5);
Tailwind
colors: {
  custom: {
    50: '#e1839a',
    500: '#cd4872',
    950: '#000000',
  },
}
SCSS
$custom: #cd4872;
$custom-light: #e1839a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4872",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 341.053,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.17097,
    "h": 4.5
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#CD4872
secondary
#9CD5C3
accent
#E0B047
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4872

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

Preview Lab → · Contrast checker → · Palette generator →

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