#CC5A71#CC5A71

#CC5A71 is a mid, vivid red. Relative luminance 0.213; OKLCH L 61.6% C 0.146 H 9.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC5A71
RGBrgb(204, 90, 113)
HSLhsl(348, 53%, 58%)
HSVhsv(348, 56%, 80%)
CMYKcmyk(0%, 55.9%, 44.6%, 20%)
CIE-LABlab(53.33, 47.35, 9.60)
CIE-LCHlch(53.33, 48.31, 11.46°)
OKLaboklab(61.61% 0.1437 0.025)
OKLCHoklch(61.61% 0.146 9.9)
XYZxyz(31.5408, 21.3455, 18.0787)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A71 #5ACCB5
analogous
#CC5AAA #CC5A71 #CC7C5A
triadic
#CC5A71 #71CC5A #5A71CC
tetradic
#CC5A71 #AACC5A #5ACCB5 #7C5ACC
square
#CC5A71 #AACC5A #5ACCB5 #7C5ACC
split-complementary
#CC5A71 #5ACC7C #5AAACC
monochromatic
#83293B #B23750 #CC5A71 #DA8999 #E9B7C1

Accessibility & contrast

On white

3.99
#CC5A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC5A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A71
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A71#FFFFFF#000000##000000
##CC5A711.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5a71;
/* rgb */ color: rgb(204, 90, 113);
/* oklch */ color: oklch(61.6% 0.146 9.9);
Tailwind
colors: {
  custom: {
    50: '#e08d99',
    500: '#cc5a71',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a71;
$custom-light: #e08d99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a71",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 113
  },
  "hsl": {
    "h": 347.895,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.14581,
    "h": 9.9
  },
  "luminance": 0.21342
}

Semantic roles & 50–950 ramp

primary
#CC5A71
secondary
#AAD8CF
accent
#DCBF4C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5A71

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

Preview Lab → · Contrast checker → · Palette generator →

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