#CC5871#CC5871

#CC5871 is a mid, vivid red. Relative luminance 0.210; OKLCH L 61.3% C 0.149 H 9.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5871
RGBrgb(204, 88, 113)
HSLhsl(347, 53%, 57%)
HSVhsv(347, 57%, 80%)
CMYKcmyk(0%, 56.9%, 44.6%, 20%)
CIE-LABlab(52.96, 48.30, 9.09)
CIE-LCHlch(52.96, 49.15, 10.66°)
OKLaboklab(61.34% 0.1466 0.0237)
OKLCHoklch(61.34% 0.149 9.2)
XYZxyz(31.3743, 21.0126, 18.0232)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5871 #58CCB3
analogous
#CC58AB #CC5871 #CC7958
triadic
#CC5871 #71CC58 #5871CC
tetradic
#CC5871 #ABCC58 #58CCB3 #7958CC
square
#CC5871 #ABCC58 #58CCB3 #7958CC
split-complementary
#CC5871 #58CC79 #58ABCC
monochromatic
#82283B #B13650 #CC5871 #DA8799 #E9B6C1

Accessibility & contrast

On white

4.04
#CC5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5871
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5871#FFFFFF#000000##000000
##CC58711.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707071
Deuteranopia (green-blind)
#8D876E
Tritanopia (blue-blind)
#DD4A61
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5871;
/* rgb */ color: rgb(204, 88, 113);
/* oklch */ color: oklch(61.3% 0.149 9.2);
Tailwind
colors: {
  custom: {
    50: '#e08b99',
    500: '#cc5871',
    950: '#000000',
  },
}
SCSS
$custom: #cc5871;
$custom-light: #e08b99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5871",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 347.069,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.14853,
    "h": 9.2
  },
  "luminance": 0.21009
}

Semantic roles & 50–950 ramp

primary
#CC5871
secondary
#A8D7CD
accent
#DDBD4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC5871

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

Preview Lab → · Contrast checker → · Palette generator →

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