#CC3838#CC3838

#CC3838 is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.5% C 0.185 H 25.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC3838
RGBrgb(204, 56, 56)
HSLhsl(0, 59%, 51%)
HSVhsv(0, 73%, 80%)
CMYKcmyk(0%, 72.5%, 72.5%, 20%)
CIE-LABlab(46.92, 57.63, 35.01)
CIE-LCHlch(46.92, 67.43, 31.28°)
OKLaboklab(56.46% 0.1673 0.0794)
OKLCHoklch(56.46% 0.185 25.4)
XYZxyz(27.0329, 15.9554, 5.3969)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3838 #38CCCC
analogous
#CC3882 #CC3838 #CC8238
triadic
#CC3838 #38CC38 #3838CC
tetradic
#CC3838 #82CC38 #38CCCC #8238CC
square
#CC3838 #82CC38 #38CCCC #8238CC
split-complementary
#CC3838 #38CC82 #3882CC
monochromatic
#6E1C1C #9E2929 #CC3838 #D86969 #E59999

Accessibility & contrast

On white

5.01
#CC3838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#CC3838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3838
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3838#FFFFFF#000000##FFFFFF
##CC38381.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635B36
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#E0003A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3838;
/* rgb */ color: rgb(204, 56, 56);
/* oklch */ color: oklch(56.5% 0.185 25.4);
Tailwind
colors: {
  custom: {
    50: '#e4796f',
    500: '#cc3838',
    950: '#000000',
  },
}
SCSS
$custom: #cc3838;
$custom-light: #e4796f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3838",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.18516,
    "h": 25.4
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#CC3838
secondary
#8FD1D1
accent
#E2E245
background
#FFF7F6
surface
#FEEEEC
border
#D6C9C7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CC3838

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

Preview Lab → · Contrast checker → · Palette generator →

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