#CC3A38#CC3A38

#CC3A38 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.7% C 0.183 H 25.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC3A38
RGBrgb(204, 58, 56)
HSLhsl(1, 59%, 51%)
HSVhsv(1, 73%, 80%)
CMYKcmyk(0%, 71.6%, 72.5%, 20%)
CIE-LABlab(47.17, 56.91, 35.31)
CIE-LCHlch(47.17, 66.97, 31.81°)
OKLaboklab(56.65% 0.165 0.0801)
OKLCHoklch(56.65% 0.183 25.9)
XYZxyz(27.1318, 16.1531, 5.4298)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A38 #38CACC
analogous
#CC3880 #CC3A38 #CC8438
triadic
#CC3A38 #38CC3A #3A38CC
tetradic
#CC3A38 #80CC38 #38CACC #8438CC
square
#CC3A38 #80CC38 #38CACC #8438CC
split-complementary
#CC3A38 #38CC84 #3880CC
monochromatic
#6E1D1C #9E2A29 #CC3A38 #D86A69 #E59A99

Accessibility & contrast

On white

4.96
#CC3A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CC3A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A38
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A38#FFFFFF#000000##FFFFFF
##CC3A381.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3a38;
/* rgb */ color: rgb(204, 58, 56);
/* oklch */ color: oklch(56.7% 0.183 25.9);
Tailwind
colors: {
  custom: {
    50: '#e47a6f',
    500: '#cc3a38',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a38;
$custom-light: #e47a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a38",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 56
  },
  "hsl": {
    "h": 0.811,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.1834,
    "h": 25.9
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3A38

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

Preview Lab → · Contrast checker → · Palette generator →

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