#CC4942#CC4942

#CC4942 is a mid, vivid red. Relative luminance 0.180; OKLCH L 58.4% C 0.168 H 26.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC4942
RGBrgb(204, 73, 66)
HSLhsl(3, 58%, 53%)
HSVhsv(3, 68%, 80%)
CMYKcmyk(0%, 64.2%, 67.6%, 20%)
CIE-LABlab(49.50, 51.45, 32.28)
CIE-LCHlch(49.50, 60.74, 32.10°)
OKLaboklab(58.44% 0.1498 0.0752)
OKLCHoklch(58.44% 0.168 26.6)
XYZxyz(28.2707, 17.9998, 7.1388)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4942 #42C5CC
analogous
#CC4280 #CC4942 #CC8E42
triadic
#CC4942 #42CC49 #4942CC
tetradic
#CC4942 #80CC42 #42C5CC #8E42CC
square
#CC4942 #80CC42 #42C5CC #8E42CC
split-complementary
#CC4942 #42CC8E #4280CC
monochromatic
#74241F #A4322C #CC4942 #D97772 #E6A6A2

Accessibility & contrast

On white

4.57
#CC4942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC4942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4942
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4942#FFFFFF#000000##000000
##CC49421.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C6440
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#E02A48
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4942;
/* rgb */ color: rgb(204, 73, 66);
/* oklch */ color: oklch(58.4% 0.168 26.6);
Tailwind
colors: {
  custom: {
    50: '#e38276',
    500: '#cc4942',
    950: '#000000',
  },
}
SCSS
$custom: #cc4942;
$custom-light: #e38276;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4942",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 66
  },
  "hsl": {
    "h": 3.043,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.16763,
    "h": 26.6
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4942

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

Preview Lab → · Contrast checker → · Palette generator →

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