#CC4052#CC4052

#CC4052 is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.7% C 0.176 H 17.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC4052
RGBrgb(204, 64, 82)
HSLhsl(352, 58%, 53%)
HSVhsv(352, 69%, 80%)
CMYKcmyk(0%, 68.6%, 59.8%, 20%)
CIE-LABlab(48.41, 56.10, 21.43)
CIE-LCHlch(48.41, 60.06, 20.90°)
OKLaboklab(57.71% 0.1676 0.0523)
OKLCHoklch(57.71% 0.176 17.3)
XYZxyz(28.2610, 17.1173, 9.7968)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4052 #40CCBA
analogous
#CC4098 #CC4052 #CC7440
triadic
#CC4052 #52CC40 #4052CC
tetradic
#CC4052 #98CC40 #40CCBA #7440CC
square
#CC4052 #98CC40 #40CCBA #7440CC
split-complementary
#CC4052 #40CC74 #4098CC
monochromatic
#731F2A #A32C3B #CC4052 #D9707E #E6A1AA

Accessibility & contrast

On white

4.75
#CC4052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC4052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4052
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4052#FFFFFF#000000##FFFFFF
##CC40521.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#887E4E
Tritanopia (blue-blind)
#DF1E48
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4052;
/* rgb */ color: rgb(204, 64, 82);
/* oklch */ color: oklch(57.7% 0.176 17.3);
Tailwind
colors: {
  custom: {
    50: '#e27e82',
    500: '#cc4052',
    950: '#000000',
  },
}
SCSS
$custom: #cc4052;
$custom-light: #e27e82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4052",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 352.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.1756,
    "h": 17.3
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#CC4052
secondary
#95D2CA
accent
#E1CD47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC4052

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

Preview Lab → · Contrast checker → · Palette generator →

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