#CC3331#CC3331

#CC3331 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.9% C 0.190 H 26.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC3331
RGBrgb(204, 51, 49)
HSLhsl(1, 61%, 50%)
HSVhsv(1, 76%, 80%)
CMYKcmyk(0%, 75%, 76%, 20%)
CIE-LABlab(46.22, 59.05, 38.22)
CIE-LCHlch(46.22, 70.34, 32.92°)
OKLaboklab(55.92% 0.1703 0.0848)
OKLCHoklch(55.92% 0.19 26.5)
XYZxyz(26.6432, 15.4309, 4.4807)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3331 #31CACC
analogous
#CC317D #CC3331 #CC8031
triadic
#CC3331 #31CC33 #3331CC
tetradic
#CC3331 #7DCC31 #31CACC #8031CC
square
#CC3331 #7DCC31 #31CACC #8031CC
split-complementary
#CC3331 #31CC80 #317DCC
monochromatic
#691A19 #9B2725 #CC3331 #D96361 #E59492

Accessibility & contrast

On white

5.14
#CC3331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CC3331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3331
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3331#FFFFFF#000000##FFFFFF
##CC33311.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582F
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#E10035
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc3331;
/* rgb */ color: rgb(204, 51, 49);
/* oklch */ color: oklch(55.9% 0.190 26.5);
Tailwind
colors: {
  custom: {
    50: '#e5776a',
    500: '#cc3331',
    950: '#000000',
  },
}
SCSS
$custom: #cc3331;
$custom-light: #e5776a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3331",
  "rgb": {
    "r": 204,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.774,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.1902,
    "h": 26.5
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#CC3331
secondary
#89CFD0
accent
#E2E443
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CC3331

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

Preview Lab → · Contrast checker → · Palette generator →

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