#CC4252#CC4252

#CC4252 is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.9% C 0.173 H 17.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC4252
RGBrgb(204, 66, 82)
HSLhsl(353, 58%, 53%)
HSVhsv(353, 68%, 80%)
CMYKcmyk(0%, 67.6%, 59.8%, 20%)
CIE-LABlab(48.69, 55.32, 21.81)
CIE-LCHlch(48.69, 59.46, 21.51°)
OKLaboklab(57.92% 0.1651 0.0532)
OKLCHoklch(57.92% 0.173 17.9)
XYZxyz(28.3758, 17.3469, 9.8351)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4252 #42CCBC
analogous
#CC4297 #CC4252 #CC7742
triadic
#CC4252 #52CC42 #4252CC
tetradic
#CC4252 #97CC42 #42CCBC #7742CC
square
#CC4252 #97CC42 #42CCBC #7742CC
split-complementary
#CC4252 #42CC77 #4297CC
monochromatic
#741F29 #A42C3A #CC4252 #D9727E #E6A2AA

Accessibility & contrast

On white

4.70
#CC4252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC4252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4252
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4252#FFFFFF#000000##FFFFFF
##CC42521.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666152
Deuteranopia (green-blind)
#897E4E
Tritanopia (blue-blind)
#DF2249
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4252;
/* rgb */ color: rgb(204, 66, 82);
/* oklch */ color: oklch(57.9% 0.173 17.9);
Tailwind
colors: {
  custom: {
    50: '#e27f82',
    500: '#cc4252',
    950: '#000000',
  },
}
SCSS
$custom: #cc4252;
$custom-light: #e27f82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4252",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 82
  },
  "hsl": {
    "h": 353.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.17347,
    "h": 17.9
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#CC4252
secondary
#97D3CC
accent
#E1CF47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CC4252

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

Preview Lab → · Contrast checker → · Palette generator →

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