#CC5257#CC5257

#CC5257 is a mid, vivid red. Relative luminance 0.196; OKLCH L 59.9% C 0.155 H 20.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC5257
RGBrgb(204, 82, 87)
HSLhsl(358, 54%, 56%)
HSVhsv(358, 60%, 80%)
CMYKcmyk(0%, 59.8%, 57.4%, 20%)
CIE-LABlab(51.34, 48.81, 22.31)
CIE-LCHlch(51.34, 53.67, 24.56°)
OKLaboklab(59.93% 0.1453 0.0547)
OKLCHoklch(59.93% 0.155 20.6)
XYZxyz(29.6420, 19.5638, 11.2302)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5257 #52CCC7
analogous
#CC5294 #CC5257 #CC8A52
triadic
#CC5257 #57CC52 #5257CC
tetradic
#CC5257 #94CC52 #52CCC7 #8A52CC
square
#CC5257 #94CC52 #52CCC7 #8A52CC
split-complementary
#CC5257 #52CC8A #5294CC
monochromatic
#7E2529 #AE3338 #CC5257 #DA8185 #E8B1B3

Accessibility & contrast

On white

4.28
#CC5257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC5257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5257
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5257#FFFFFF#000000##000000
##CC52571.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#706A56
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#DF3C55
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5257;
/* rgb */ color: rgb(204, 82, 87);
/* oklch */ color: oklch(59.9% 0.155 20.6);
Tailwind
colors: {
  custom: {
    50: '#e18786',
    500: '#cc5257',
    950: '#000000',
  },
}
SCSS
$custom: #cc5257;
$custom-light: #e18786;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5257",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 357.541,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.15527,
    "h": 20.6
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#CC5257
secondary
#A4D6D4
accent
#DED84A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CC5257

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

Preview Lab → · Contrast checker → · Palette generator →

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