#CC4842#CC4842

#CC4842 is a mid, vivid red. Relative luminance 0.179; OKLCH L 58.3% C 0.169 H 26.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4842
RGBrgb(204, 72, 66)
HSLhsl(3, 58%, 53%)
HSVhsv(3, 68%, 80%)
CMYKcmyk(0%, 64.7%, 67.6%, 20%)
CIE-LABlab(49.34, 51.88, 32.09)
CIE-LCHlch(49.34, 61.00, 31.74°)
OKLaboklab(58.32% 0.1512 0.0747)
OKLCHoklch(58.32% 0.169 26.3)
XYZxyz(28.2055, 17.8694, 7.1171)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4842 #42C6CC
analogous
#CC4281 #CC4842 #CC8D42
triadic
#CC4842 #42CC48 #4842CC
tetradic
#CC4842 #81CC42 #42C6CC #8D42CC
square
#CC4842 #81CC42 #42C6CC #8D42CC
split-complementary
#CC4842 #42CC8D #4281CC
monochromatic
#74231F #A4322C #CC4842 #D97772 #E6A5A2

Accessibility & contrast

On white

4.59
#CC4842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC4842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4842
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4842#FFFFFF#000000##FFFFFF
##CC48421.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6340
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#E02848
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4842;
/* rgb */ color: rgb(204, 72, 66);
/* oklch */ color: oklch(58.3% 0.169 26.3);
Tailwind
colors: {
  custom: {
    50: '#e38176',
    500: '#cc4842',
    950: '#000000',
  },
}
SCSS
$custom: #cc4842;
$custom-light: #e38176;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4842",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.609,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58317,
    "c": 0.16865,
    "h": 26.3
  },
  "luminance": 0.17865
}

Semantic roles & 50–950 ramp

primary
#CC4842
secondary
#97D0D3
accent
#DAE147
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CC4842

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

Preview Lab → · Contrast checker → · Palette generator →

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