#CC5231#CC5231

#CC5231 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.4% C 0.162 H 35.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC5231
RGBrgb(204, 82, 49)
HSLhsl(13, 61%, 50%)
HSVhsv(13, 76%, 80%)
CMYKcmyk(0%, 59.8%, 76%, 20%)
CIE-LABlab(50.80, 46.63, 43.12)
CIE-LCHlch(50.80, 63.51, 42.76°)
OKLaboklab(59.35% 0.1315 0.0954)
OKLCHoklch(59.35% 0.162 35.9)
XYZxyz(28.4765, 19.0976, 5.0918)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5231 #31ABCC
analogous
#CC315E #CC5231 #CCA031
triadic
#CC5231 #31CC52 #5231CC
tetradic
#CC5231 #5ECC31 #31ABCC #A031CC
square
#CC5231 #5ECC31 #31ABCC #A031CC
split-complementary
#CC5231 #31CCA0 #315ECC
monochromatic
#692A19 #9B3E25 #CC5231 #D97B61 #E5A492

Accessibility & contrast

On white

4.36
#CC5231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC5231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5231
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5231#FFFFFF#000000##000000
##CC52311.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#E0354B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5231;
/* rgb */ color: rgb(204, 82, 49);
/* oklch */ color: oklch(59.4% 0.162 35.9);
Tailwind
colors: {
  custom: {
    50: '#e3876b',
    500: '#cc5231',
    950: '#000000',
  },
}
SCSS
$custom: #cc5231;
$custom-light: #e3876b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5231",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 49
  },
  "hsl": {
    "h": 12.774,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.16247,
    "h": 35.9
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#CC5231
secondary
#89C1D0
accent
#C2E443
background
#FFF8F6
surface
#FEF0EB
border
#D6CBC6
text
#170C07
muted
#857D7A

Preview Lab

Preview with #CC5231

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

Preview Lab → · Contrast checker → · Palette generator →

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