#CC3938#CC3938

#CC3938 is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.6% C 0.184 H 25.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC3938
RGBrgb(204, 57, 56)
HSLhsl(0, 59%, 51%)
HSVhsv(0, 73%, 80%)
CMYKcmyk(0%, 72.1%, 72.5%, 20%)
CIE-LABlab(47.04, 57.27, 35.16)
CIE-LCHlch(47.04, 67.20, 31.54°)
OKLaboklab(56.56% 0.1662 0.0797)
OKLCHoklch(56.56% 0.184 25.6)
XYZxyz(27.0818, 16.0533, 5.4132)
Luminance0.1605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3938 #38CBCC
analogous
#CC3881 #CC3938 #CC8338
triadic
#CC3938 #38CC39 #3938CC
tetradic
#CC3938 #81CC38 #38CBCC #8338CC
square
#CC3938 #81CC38 #38CBCC #8338CC
split-complementary
#CC3938 #38CC83 #3881CC
monochromatic
#6E1D1C #9E2929 #CC3938 #D86969 #E59A99

Accessibility & contrast

On white

4.99
#CC3938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CC3938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3938
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3938#FFFFFF#000000##FFFFFF
##CC39381.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#E0003B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3938;
/* rgb */ color: rgb(204, 57, 56);
/* oklch */ color: oklch(56.6% 0.184 25.6);
Tailwind
colors: {
  custom: {
    50: '#e47a6f',
    500: '#cc3938',
    950: '#000000',
  },
}
SCSS
$custom: #cc3938;
$custom-light: #e47a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3938",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 56
  },
  "hsl": {
    "h": 0.405,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.18429,
    "h": 25.6
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#CC3938
secondary
#8FD0D1
accent
#E1E245
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CC3938

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

Preview Lab → · Contrast checker → · Palette generator →

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