#CC5052#CC5052

#CC5052 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.6% C 0.158 H 22.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC5052
RGBrgb(204, 80, 82)
HSLhsl(359, 55%, 56%)
HSVhsv(359, 61%, 80%)
CMYKcmyk(0%, 60.8%, 59.8%, 20%)
CIE-LABlab(50.91, 49.36, 24.70)
CIE-LCHlch(50.91, 55.19, 26.58°)
OKLaboklab(59.58% 0.1462 0.0599)
OKLCHoklch(59.58% 0.158 22.3)
XYZxyz(29.2962, 19.1877, 10.1419)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5052 #50CCCA
analogous
#CC5090 #CC5052 #CC8C50
triadic
#CC5052 #52CC50 #5052CC
tetradic
#CC5052 #90CC50 #50CCCA #8C50CC
square
#CC5052 #90CC50 #50CCCA #8C50CC
split-complementary
#CC5052 #50CC8C #5090CC
monochromatic
#7D2426 #AD3234 #CC5052 #DA7F81 #E8AFB0

Accessibility & contrast

On white

4.34
#CC5052 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC5052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5052
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5052#FFFFFF#000000##000000
##CC50521.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6951
Deuteranopia (green-blind)
#8E834F
Tritanopia (blue-blind)
#DF3852
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5052;
/* rgb */ color: rgb(204, 80, 82);
/* oklch */ color: oklch(59.6% 0.158 22.3);
Tailwind
colors: {
  custom: {
    50: '#e28682',
    500: '#cc5052',
    950: '#000000',
  },
}
SCSS
$custom: #cc5052;
$custom-light: #e28682;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5052",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 359.032,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59578,
    "c": 0.158,
    "h": 22.3
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#CC5052
secondary
#A2D6D5
accent
#DEDC4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CC5052

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

Preview Lab → · Contrast checker → · Palette generator →

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