#CC332A#CC332A

#CC332A is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.8% C 0.191 H 28.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC332A
RGBrgb(204, 51, 42)
HSLhsl(3, 66%, 48%)
HSVhsv(3, 79%, 80%)
CMYKcmyk(0%, 75%, 79.4%, 20%)
CIE-LABlab(46.15, 58.80, 42.01)
CIE-LCHlch(46.15, 72.26, 35.54°)
OKLaboklab(55.84% 0.1681 0.091)
OKLCHoklch(55.84% 0.191 28.4)
XYZxyz(26.5068, 15.3764, 3.7623)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC332A #2AC3CC
analogous
#CC2A72 #CC332A #CC842A
triadic
#CC332A #2ACC33 #332ACC
tetradic
#CC332A #72CC2A #2AC3CC #842ACC
square
#CC332A #72CC2A #2AC3CC #842ACC
split-complementary
#CC332A #2ACC84 #2A72CC
monochromatic
#661A15 #992620 #CC332A #DC5E57 #E78F8A

Accessibility & contrast

On white

5.15
#CC332A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#CC332A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC332A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC332A#FFFFFF#000000##FFFFFF
##CC332A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625827
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#E10033
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc332a;
/* rgb */ color: rgb(204, 51, 42);
/* oklch */ color: oklch(55.8% 0.191 28.4);
Tailwind
colors: {
  custom: {
    50: '#e57765',
    500: '#cc332a',
    950: '#000000',
  },
}
SCSS
$custom: #cc332a;
$custom-light: #e57765;
$custom-dark: #000000;
JSON
{
  "hex": "#cc332a",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 42
  },
  "hsl": {
    "h": 3.333,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.19111,
    "h": 28.4
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#CC332A
secondary
#81CCD1
accent
#DFE93F
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180905
muted
#867B7A

Preview Lab

Preview with #CC332A

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

Preview Lab → · Contrast checker → · Palette generator →

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