#CC542E#CC542E

#CC542E is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.6% C 0.161 H 37.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC542E
RGBrgb(204, 84, 46)
HSLhsl(14, 63%, 49%)
HSVhsv(14, 77%, 80%)
CMYKcmyk(0%, 58.8%, 77.5%, 20%)
CIE-LABlab(51.13, 45.58, 44.99)
CIE-LCHlch(51.13, 64.04, 44.62°)
OKLaboklab(59.59% 0.1278 0.0986)
OKLCHoklch(59.59% 0.161 37.7)
XYZxyz(28.5683, 19.3792, 4.8205)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC542E #2EA6CC
analogous
#CC2E57 #CC542E #CCA32E
triadic
#CC542E #2ECC54 #542ECC
tetradic
#CC542E #57CC2E #2EA6CC #A32ECC
square
#CC542E #57CC2E #2EA6CC #A32ECC
split-complementary
#CC542E #2ECCA3 #2E57CC
monochromatic
#682B17 #9A3F23 #CC542E #DA7B5D #E6A48F

Accessibility & contrast

On white

4.31
#CC542E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC542E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC542E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC542E#FFFFFF#000000##000000
##CC542E1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#766929
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#E0384C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc542e;
/* rgb */ color: rgb(204, 84, 46);
/* oklch */ color: oklch(59.6% 0.161 37.7);
Tailwind
colors: {
  custom: {
    50: '#e48869',
    500: '#cc542e',
    950: '#000000',
  },
}
SCSS
$custom: #cc542e;
$custom-light: #e48869;
$custom-dark: #000000;
JSON
{
  "hex": "#cc542e",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 14.43,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59592,
    "c": 0.1614,
    "h": 37.7
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#CC542E
secondary
#86BED0
accent
#BFE642
background
#FFF8F6
surface
#FEF0EB
border
#D6CBC6
text
#170C06
muted
#857D7A

Preview Lab

Preview with #CC542E

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

Preview Lab → · Contrast checker → · Palette generator →

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