#CD3871#CD3871

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

Color values

HEX#CD3871
RGBrgb(205, 56, 113)
HSLhsl(337, 60%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 72.7%, 44.9%, 19.6%)
CIE-LABlab(48.26, 61.81, 2.38)
CIE-LCHlch(48.26, 61.86, 2.21°)
OKLaboklab(57.87% 0.1894 0.0068)
OKLCHoklch(57.87% 0.19 2.1)
XYZxyz(29.5740, 17.0036, 17.3443)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3871 #38CD94
analogous
#CD38BB #CD3871 #CD4938
triadic
#CD3871 #71CD38 #3871CD
tetradic
#CD3871 #BBCD38 #38CD94 #4938CD
square
#CD3871 #BBCD38 #38CD94 #4938CD
split-complementary
#CD3871 #38CD49 #38BBCD
monochromatic
#6F1C3C #A02856 #CD3871 #D96994 #E69AB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3871#FFFFFF#000000##FFFFFF
##CD38711.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)
#596072
Deuteranopia (green-blind)
#817D6E
Tritanopia (blue-blind)
#DE1E50
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd3871;
/* rgb */ color: rgb(205, 56, 113);
/* oklch */ color: oklch(57.9% 0.190 2.1);
Tailwind
colors: {
  custom: {
    50: '#e27b99',
    500: '#cd3871',
    950: '#000000',
  },
}
SCSS
$custom: #cd3871;
$custom-light: #e27b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3871",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 337.047,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.18953,
    "h": 2.1
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#CD3871
secondary
#8FD1B8
accent
#E3A645
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD3871

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

Preview Lab → · Contrast checker → · Palette generator →

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