#CC4F42#CC4F42

#CC4F42 is a mid, vivid red. Relative luminance 0.188; OKLCH L 59.2% C 0.162 H 28.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4F42
RGBrgb(204, 79, 66)
HSLhsl(6, 58%, 53%)
HSVhsv(6, 68%, 80%)
CMYKcmyk(0%, 61.3%, 67.6%, 20%)
CIE-LABlab(50.48, 48.81, 33.47)
CIE-LCHlch(50.48, 59.18, 34.43°)
OKLaboklab(59.18% 0.1416 0.0778)
OKLCHoklch(59.18% 0.162 28.8)
XYZxyz(28.6841, 18.8266, 7.2766)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F42 #42BFCC
analogous
#CC427A #CC4F42 #CC9442
triadic
#CC4F42 #42CC4F #4F42CC
tetradic
#CC4F42 #7ACC42 #42BFCC #9442CC
square
#CC4F42 #7ACC42 #42BFCC #9442CC
split-complementary
#CC4F42 #42CC94 #427ACC
monochromatic
#74271F #A4382C #CC4F42 #D97C72 #E6A9A2

Accessibility & contrast

On white

4.41
#CC4F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC4F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F42
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F42#FFFFFF#000000##000000
##CC4F421.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#E0334D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4f42;
/* rgb */ color: rgb(204, 79, 66);
/* oklch */ color: oklch(59.2% 0.162 28.8);
Tailwind
colors: {
  custom: {
    50: '#e38577',
    500: '#cc4f42',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f42;
$custom-light: #e38577;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f42",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 66
  },
  "hsl": {
    "h": 5.652,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59178,
    "c": 0.16153,
    "h": 28.8
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#CC4F42
secondary
#97CDD3
accent
#D2E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #CC4F42

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

Preview Lab → · Contrast checker → · Palette generator →

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