#CC5138#CC5138

#CC5138 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.3% C 0.162 H 33.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC5138
RGBrgb(204, 81, 56)
HSLhsl(10, 59%, 51%)
HSVhsv(10, 73%, 80%)
CMYKcmyk(0%, 60.3%, 72.5%, 20%)
CIE-LABlab(50.70, 47.40, 39.29)
CIE-LCHlch(50.70, 61.57, 39.66°)
OKLaboklab(59.3% 0.1352 0.0887)
OKLCHoklch(59.3% 0.162 33.3)
XYZxyz(28.5610, 19.0117, 5.9063)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5138 #38B3CC
analogous
#CC3869 #CC5138 #CC9B38
triadic
#CC5138 #38CC51 #5138CC
tetradic
#CC5138 #69CC38 #38B3CC #9B38CC
square
#CC5138 #69CC38 #38B3CC #9B38CC
split-complementary
#CC5138 #38CC9B #3869CC
monochromatic
#6E2A1C #9E3C29 #CC5138 #D87C69 #E5A699

Accessibility & contrast

On white

4.37
#CC5138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC5138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5138
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5138#FFFFFF#000000##000000
##CC51381.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#736835
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#E0354C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5138;
/* rgb */ color: rgb(204, 81, 56);
/* oklch */ color: oklch(59.3% 0.162 33.3);
Tailwind
colors: {
  custom: {
    50: '#e38670',
    500: '#cc5138',
    950: '#000000',
  },
}
SCSS
$custom: #cc5138;
$custom-light: #e38670;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5138",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 10.135,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.16172,
    "h": 33.3
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#CC5138
secondary
#8FC6D1
accent
#C8E245
background
#FFF8F6
surface
#FEF0EC
border
#D6CBC7
text
#170B07
muted
#857C7A

Preview Lab

Preview with #CC5138

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

Preview Lab → · Contrast checker → · Palette generator →

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