#CC5852#CC5852

#CC5852 is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.6% C 0.149 H 25.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5852
RGBrgb(204, 88, 82)
HSLhsl(3, 54%, 56%)
HSVhsv(3, 60%, 80%)
CMYKcmyk(0%, 56.9%, 59.8%, 20%)
CIE-LABlab(52.32, 45.64, 26.52)
CIE-LCHlch(52.32, 52.78, 30.16°)
OKLaboklab(60.64% 0.1345 0.064)
OKLCHoklch(60.64% 0.149 25.5)
XYZxyz(29.9172, 20.4297, 10.3489)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5852 #52C6CC
analogous
#CC5289 #CC5852 #CC9552
triadic
#CC5852 #52CC58 #5852CC
tetradic
#CC5852 #89CC52 #52C6CC #9552CC
square
#CC5852 #89CC52 #52C6CC #9552CC
split-complementary
#CC5852 #52CC95 #5289CC
monochromatic
#7E2A25 #AE3933 #CC5852 #DA8681 #E8B3B1

Accessibility & contrast

On white

4.13
#CC5852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC5852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5852
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5852#FFFFFF#000000##000000
##CC58521.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#756D51
Deuteranopia (green-blind)
#92864F
Tritanopia (blue-blind)
#DF4357
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5852;
/* rgb */ color: rgb(204, 88, 82);
/* oklch */ color: oklch(60.6% 0.149 25.5);
Tailwind
colors: {
  custom: {
    50: '#e18b82',
    500: '#cc5852',
    950: '#000000',
  },
}
SCSS
$custom: #cc5852;
$custom-light: #e18b82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5852",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 82
  },
  "hsl": {
    "h": 2.951,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.14899,
    "h": 25.5
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#CC5852
secondary
#A4D4D6
accent
#D7DE4A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0A
muted
#847D7C

Preview Lab

Preview with #CC5852

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

Preview Lab → · Contrast checker → · Palette generator →

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