#CD3873#CD3873

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

Color values

HEX#CD3873
RGBrgb(205, 56, 115)
HSLhsl(336, 60%, 51%)
HSVhsv(336, 73%, 80%)
CMYKcmyk(0%, 72.7%, 43.9%, 19.6%)
CIE-LABlab(48.32, 62.00, 1.25)
CIE-LCHlch(48.32, 62.01, 1.15°)
OKLaboklab(57.93% 0.1901 0.0039)
OKLCHoklch(57.93% 0.19 1.2)
XYZxyz(29.6878, 17.0491, 17.9438)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3873 #38CD92
analogous
#CD38BD #CD3873 #CD4738
triadic
#CD3873 #73CD38 #3873CD
tetradic
#CD3873 #BDCD38 #38CD92 #4738CD
square
#CD3873 #BDCD38 #38CD92 #4738CD
split-complementary
#CD3873 #38CD47 #38BDCD
monochromatic
#6F1C3D #A02857 #CD3873 #D96995 #E69AB8

Accessibility & contrast

On white

4.76
#CD3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CD3873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3873
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3873#FFFFFF#000000##FFFFFF
##CD38731.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596074
Deuteranopia (green-blind)
#817D70
Tritanopia (blue-blind)
#DE2051
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3873;
/* rgb */ color: rgb(205, 56, 115);
/* oklch */ color: oklch(57.9% 0.190 1.2);
Tailwind
colors: {
  custom: {
    50: '#e27b9b',
    500: '#cd3873',
    950: '#000000',
  },
}
SCSS
$custom: #cd3873;
$custom-light: #e27b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3873",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 336.242,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57934,
    "c": 0.19013,
    "h": 1.2
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#CD3873
secondary
#8FD1B7
accent
#E3A445
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD3873

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

Preview Lab → · Contrast checker → · Palette generator →

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