#CC5040#CC5040

#CC5040 is a mid, vivid red. Relative luminance 0.189; OKLCH L 59.3% C 0.161 H 30.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC5040
RGBrgb(204, 80, 64)
HSLhsl(7, 58%, 53%)
HSVhsv(7, 69%, 80%)
CMYKcmyk(0%, 60.8%, 68.6%, 20%)
CIE-LABlab(50.63, 48.25, 34.77)
CIE-LCHlch(50.63, 59.47, 35.78°)
OKLaboklab(59.28% 0.1394 0.0803)
OKLCHoklch(59.28% 0.161 30)
XYZxyz(28.6988, 18.9487, 6.9957)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5040 #40BCCC
analogous
#CC4076 #CC5040 #CC9640
triadic
#CC5040 #40CC50 #5040CC
tetradic
#CC5040 #76CC40 #40BCCC #9640CC
square
#CC5040 #76CC40 #40BCCC #9640CC
split-complementary
#CC5040 #40CC96 #4076CC
monochromatic
#73281F #A3392C #CC5040 #D97C70 #E6A9A1

Accessibility & contrast

On white

4.39
#CC5040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC5040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5040
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5040#FFFFFF#000000##000000
##CC50401.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71683E
Deuteranopia (green-blind)
#90833D
Tritanopia (blue-blind)
#E0344D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc5040;
/* rgb */ color: rgb(204, 80, 64);
/* oklch */ color: oklch(59.3% 0.161 30.0);
Tailwind
colors: {
  custom: {
    50: '#e38675',
    500: '#cc5040',
    950: '#000000',
  },
}
SCSS
$custom: #cc5040;
$custom-light: #e38675;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5040",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 64
  },
  "hsl": {
    "h": 6.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.1609,
    "h": 30
  },
  "luminance": 0.18945
}

Semantic roles & 50–950 ramp

primary
#CC5040
secondary
#95CBD2
accent
#CFE147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CC5040

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

Preview Lab → · Contrast checker → · Palette generator →

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