#CC4038#CC4038

#CC4038 is a mid, vivid red. Relative luminance 0.168; OKLCH L 57.3% C 0.178 H 27.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC4038
RGBrgb(204, 64, 56)
HSLhsl(3, 59%, 51%)
HSVhsv(3, 73%, 80%)
CMYKcmyk(0%, 68.6%, 72.5%, 20%)
CIE-LABlab(48.00, 54.65, 36.25)
CIE-LCHlch(48.00, 65.58, 33.55°)
OKLaboklab(57.27% 0.1579 0.0821)
OKLCHoklch(57.27% 0.178 27.5)
XYZxyz(27.4521, 16.7937, 5.5366)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4038 #38C4CC
analogous
#CC387A #CC4038 #CC8A38
triadic
#CC4038 #38CC40 #4038CC
tetradic
#CC4038 #7ACC38 #38C4CC #8A38CC
square
#CC4038 #7ACC38 #38C4CC #8A38CC
split-complementary
#CC4038 #38CC8A #387ACC
monochromatic
#6E201C #9E2F29 #CC4038 #D86F69 #E59E99

Accessibility & contrast

On white

4.82
#CC4038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#CC4038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4038
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4038#FFFFFF#000000##FFFFFF
##CC40381.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685F36
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#E0123F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc4038;
/* rgb */ color: rgb(204, 64, 56);
/* oklch */ color: oklch(57.3% 0.178 27.5);
Tailwind
colors: {
  custom: {
    50: '#e47d6f',
    500: '#cc4038',
    950: '#000000',
  },
}
SCSS
$custom: #cc4038;
$custom-light: #e47d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4038",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.17796,
    "h": 27.5
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#CC4038
secondary
#8FCDD1
accent
#DAE245
background
#FFF8F6
surface
#FEEFEC
border
#D6CAC7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CC4038

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

Preview Lab → · Contrast checker → · Palette generator →

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