#CC302F#CC302F

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

Color values

HEX#CC302F
RGBrgb(204, 48, 47)
HSLhsl(0, 63%, 49%)
HSVhsv(0, 77%, 80%)
CMYKcmyk(0%, 76.5%, 77%, 20%)
CIE-LABlab(45.85, 59.93, 38.95)
CIE-LCHlch(45.85, 71.48, 33.02°)
OKLaboklab(55.64% 0.1727 0.0858)
OKLCHoklch(55.64% 0.193 26.4)
XYZxyz(26.4750, 15.1607, 4.2211)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC302F #2FCBCC
analogous
#CC2F7D #CC302F #CC7F2F
triadic
#CC302F #2FCC30 #302FCC
tetradic
#CC302F #7DCC2F #2FCBCC #7F2FCC
square
#CC302F #7DCC2F #2FCBCC #7F2FCC
split-complementary
#CC302F #2FCC7F #2F7DCC
monochromatic
#691918 #9A2424 #CC302F #DA5F5E #E59190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC302F#FFFFFF#000000##FFFFFF
##CC302F1.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)
#60572D
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#E10032
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc302f;
/* rgb */ color: rgb(204, 48, 47);
/* oklch */ color: oklch(55.6% 0.193 26.4);
Tailwind
colors: {
  custom: {
    50: '#e57668',
    500: '#cc302f',
    950: '#000000',
  },
}
SCSS
$custom: #cc302f;
$custom-light: #e57668;
$custom-dark: #000000;
JSON
{
  "hex": "#cc302f",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 0.382,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.1928,
    "h": 26.4
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#CC302F
secondary
#87D0D0
accent
#E5E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #CC302F

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

Preview Lab → · Contrast checker → · Palette generator →

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