#CC302D#CC302D

#CC302D is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.6% C 0.193 H 27.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC302D
RGBrgb(204, 48, 45)
HSLhsl(1, 64%, 49%)
HSVhsv(1, 78%, 80%)
CMYKcmyk(0%, 76.5%, 77.9%, 20%)
CIE-LABlab(45.83, 59.86, 40.05)
CIE-LCHlch(45.83, 72.02, 33.78°)
OKLaboklab(55.61% 0.172 0.0876)
OKLCHoklch(55.61% 0.193 27)
XYZxyz(26.4356, 15.1449, 4.0134)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC302D #2DC9CC
analogous
#CC2D7A #CC302D #CC802D
triadic
#CC302D #2DCC30 #302DCC
tetradic
#CC302D #7ACC2D #2DC9CC #802DCC
square
#CC302D #7ACC2D #2DC9CC #802DCC
split-complementary
#CC302D #2DCC80 #2D7ACC
monochromatic
#681817 #9A2422 #CC302D #DB5E5B #E68F8D

Accessibility & contrast

On white

5.21
#CC302D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#CC302D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC302D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC302D#FFFFFF#000000##FFFFFF
##CC302D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572B
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#E10031
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #cc302d;
/* rgb */ color: rgb(204, 48, 45);
/* oklch */ color: oklch(55.6% 0.193 27.0);
Tailwind
colors: {
  custom: {
    50: '#e57567',
    500: '#cc302d',
    950: '#000000',
  },
}
SCSS
$custom: #cc302d;
$custom-light: #e57567;
$custom-dark: #000000;
JSON
{
  "hex": "#cc302d",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 1.132,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55613,
    "c": 0.19304,
    "h": 27
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#CC302D
secondary
#85CFD0
accent
#E4E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CC302D

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

Preview Lab → · Contrast checker → · Palette generator →

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