#CC5146#CC5146

#CC5146 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.5% C 0.159 H 27.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC5146
RGBrgb(204, 81, 70)
HSLhsl(5, 57%, 54%)
HSVhsv(5, 66%, 80%)
CMYKcmyk(0%, 60.3%, 65.7%, 20%)
CIE-LABlab(50.88, 48.13, 31.66)
CIE-LCHlch(50.88, 57.61, 33.34°)
OKLaboklab(59.5% 0.1402 0.0744)
OKLCHoklch(59.5% 0.159 27.9)
XYZxyz(28.9526, 19.1683, 7.9684)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5146 #46C1CC
analogous
#CC467E #CC5146 #CC9446
triadic
#CC5146 #46CC51 #5146CC
tetradic
#CC5146 #7ECC46 #46C1CC #9446CC
square
#CC5146 #7ECC46 #46C1CC #9446CC
split-complementary
#CC5146 #46CC94 #467ECC
monochromatic
#772821 #A7382E #CC5146 #D97E76 #E6ABA6

Accessibility & contrast

On white

4.35
#CC5146 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC5146 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5146
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5146#FFFFFF#000000##000000
##CC51461.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#716944
Deuteranopia (green-blind)
#908343
Tritanopia (blue-blind)
#DF374F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5146;
/* rgb */ color: rgb(204, 81, 70);
/* oklch */ color: oklch(59.5% 0.159 27.9);
Tailwind
colors: {
  custom: {
    50: '#e2877a',
    500: '#cc5146',
    950: '#000000',
  },
}
SCSS
$custom: #cc5146;
$custom-light: #e2877a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5146",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 70
  },
  "hsl": {
    "h": 4.925,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.15869,
    "h": 27.9
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#CC5146
secondary
#9ACFD4
accent
#D4E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C09
muted
#857D7B

Preview Lab

Preview with #CC5146

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

Preview Lab → · Contrast checker → · Palette generator →

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