#CC4742#CC4742

#CC4742 is a mid, vivid red. Relative luminance 0.177; OKLCH L 58.2% C 0.170 H 26.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC4742
RGBrgb(204, 71, 66)
HSLhsl(2, 58%, 53%)
HSVhsv(2, 68%, 80%)
CMYKcmyk(0%, 65.2%, 67.6%, 20%)
CIE-LABlab(49.18, 52.30, 31.90)
CIE-LCHlch(49.18, 61.26, 31.38°)
OKLaboklab(58.2% 0.1525 0.0743)
OKLCHoklch(58.2% 0.17 26)
XYZxyz(28.1414, 17.7412, 7.0957)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4742 #42C7CC
analogous
#CC4282 #CC4742 #CC8C42
triadic
#CC4742 #42CC47 #4742CC
tetradic
#CC4742 #82CC42 #42C7CC #8C42CC
square
#CC4742 #82CC42 #42C7CC #8C42CC
split-complementary
#CC4742 #42CC8C #4282CC
monochromatic
#74221F #A4312C #CC4742 #D97672 #E6A5A2

Accessibility & contrast

On white

4.62
#CC4742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CC4742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4742
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4742#FFFFFF#000000##FFFFFF
##CC47421.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6340
Deuteranopia (green-blind)
#8C803E
Tritanopia (blue-blind)
#E02647
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4742;
/* rgb */ color: rgb(204, 71, 66);
/* oklch */ color: oklch(58.2% 0.170 26.0);
Tailwind
colors: {
  custom: {
    50: '#e38176',
    500: '#cc4742',
    950: '#000000',
  },
}
SCSS
$custom: #cc4742;
$custom-light: #e38176;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4742",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 2.174,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58199,
    "c": 0.16965,
    "h": 26
  },
  "luminance": 0.17737
}

Semantic roles & 50–950 ramp

primary
#CC4742
secondary
#97D1D3
accent
#DBE147
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CC4742

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

Preview Lab → · Contrast checker → · Palette generator →

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