#CD3872#CD3872

#CD3872 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.190 H 1.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD3872
RGBrgb(205, 56, 114)
HSLhsl(337, 60%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 72.7%, 44.4%, 19.6%)
CIE-LABlab(48.29, 61.90, 1.82)
CIE-LCHlch(48.29, 61.93, 1.68°)
OKLaboklab(57.9% 0.1898 0.0054)
OKLCHoklch(57.9% 0.19 1.6)
XYZxyz(29.6306, 17.0262, 17.6424)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3872 #38CD93
analogous
#CD38BC #CD3872 #CD4838
triadic
#CD3872 #72CD38 #3872CD
tetradic
#CD3872 #BCCD38 #38CD93 #4838CD
square
#CD3872 #BCCD38 #38CD93 #4838CD
split-complementary
#CD3872 #38CD48 #38BCCD
monochromatic
#6F1C3C #A02857 #CD3872 #D96995 #E69AB7

Accessibility & contrast

On white

4.77
#CD3872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CD3872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3872
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3872#FFFFFF#000000##FFFFFF
##CD38721.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#DE1F51
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3872;
/* rgb */ color: rgb(205, 56, 114);
/* oklch */ color: oklch(57.9% 0.190 1.6);
Tailwind
colors: {
  custom: {
    50: '#e27b9a',
    500: '#cd3872',
    950: '#000000',
  },
}
SCSS
$custom: #cd3872;
$custom-light: #e27b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3872",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 336.644,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.18984,
    "h": 1.6
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#CD3872
secondary
#8FD1B8
accent
#E3A545
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3872

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

Preview Lab → · Contrast checker → · Palette generator →

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