#CC5A52#CC5A52

#CC5A52 is a mid, vivid red. Relative luminance 0.208; OKLCH L 60.9% C 0.147 H 26.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC5A52
RGBrgb(204, 90, 82)
HSLhsl(4, 54%, 56%)
HSVhsv(4, 60%, 80%)
CMYKcmyk(0%, 55.9%, 59.8%, 20%)
CIE-LABlab(52.69, 44.68, 26.99)
CIE-LCHlch(52.69, 52.20, 31.14°)
OKLaboklab(60.92% 0.1315 0.0651)
OKLCHoklch(60.92% 0.147 26.3)
XYZxyz(30.0836, 20.7626, 10.4044)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A52 #52C4CC
analogous
#CC5287 #CC5A52 #CC9752
triadic
#CC5A52 #52CC5A #5A52CC
tetradic
#CC5A52 #87CC52 #52C4CC #9752CC
square
#CC5A52 #87CC52 #52C4CC #9752CC
split-complementary
#CC5A52 #52CC97 #5287CC
monochromatic
#7E2B25 #AE3B33 #CC5A52 #DA8781 #E8B4B1

Accessibility & contrast

On white

4.08
#CC5A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC5A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A52
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A52#FFFFFF#000000##000000
##CC5A521.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#766F51
Deuteranopia (green-blind)
#93874F
Tritanopia (blue-blind)
#DF4559
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5a52;
/* rgb */ color: rgb(204, 90, 82);
/* oklch */ color: oklch(60.9% 0.147 26.3);
Tailwind
colors: {
  custom: {
    50: '#e18c82',
    500: '#cc5a52',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a52;
$custom-light: #e18c82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a52",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 82
  },
  "hsl": {
    "h": 3.934,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.14675,
    "h": 26.3
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#CC5A52
secondary
#A4D3D6
accent
#D4DE4A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0A
muted
#847D7C

Preview Lab

Preview with #CC5A52

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

Preview Lab → · Contrast checker → · Palette generator →

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