#CD5871#CD5871

#CD5871 is a mid, vivid red. Relative luminance 0.212; OKLCH L 61.5% C 0.150 H 9.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD5871
RGBrgb(205, 88, 113)
HSLhsl(347, 54%, 57%)
HSVhsv(347, 57%, 80%)
CMYKcmyk(0%, 57.1%, 44.9%, 19.6%)
CIE-LABlab(53.12, 48.64, 9.33)
CIE-LCHlch(53.12, 49.52, 10.86°)
OKLaboklab(61.48% 0.1476 0.0243)
OKLCHoklch(61.48% 0.15 9.3)
XYZxyz(31.6494, 21.1544, 18.0361)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5871 #58CDB4
analogous
#CD58AC #CD5871 #CD7958
triadic
#CD5871 #71CD58 #5871CD
tetradic
#CD5871 #ACCD58 #58CDB4 #7958CD
square
#CD5871 #ACCD58 #58CDB4 #7958CD
split-complementary
#CD5871 #58CD79 #58ACCD
monochromatic
#83273B #B23550 #CD5871 #DB8799 #E9B6C1

Accessibility & contrast

On white

4.02
#CD5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CD5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5871
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5871#FFFFFF#000000##000000
##CD58711.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#8E886E
Tritanopia (blue-blind)
#DE4961
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd5871;
/* rgb */ color: rgb(205, 88, 113);
/* oklch */ color: oklch(61.5% 0.150 9.3);
Tailwind
colors: {
  custom: {
    50: '#e18c99',
    500: '#cd5871',
    950: '#000000',
  },
}
SCSS
$custom: #cd5871;
$custom-light: #e18c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5871",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 347.179,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.14963,
    "h": 9.3
  },
  "luminance": 0.21151
}

Semantic roles & 50–950 ramp

primary
#CD5871
secondary
#A9D8CE
accent
#DDBE4B
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CD5871

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

Preview Lab → · Contrast checker → · Palette generator →

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