#CC5151#CC5151

#CC5151 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.7% C 0.157 H 23.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC5151
RGBrgb(204, 81, 81)
HSLhsl(0, 55%, 56%)
HSVhsv(0, 60%, 80%)
CMYKcmyk(0%, 60.3%, 60.3%, 20%)
CIE-LABlab(51.06, 48.84, 25.48)
CIE-LCHlch(51.06, 55.09, 27.55°)
OKLaboklab(59.69% 0.1444 0.0616)
OKLCHoklch(59.69% 0.157 23.1)
XYZxyz(29.3322, 19.3201, 9.9675)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5151 #51CCCC
analogous
#CC518E #CC5151 #CC8E51
triadic
#CC5151 #51CC51 #5151CC
tetradic
#CC5151 #8ECC51 #51CCCC #8E51CC
square
#CC5151 #8ECC51 #51CCCC #8E51CC
split-complementary
#CC5151 #51CC8E #518ECC
monochromatic
#7E2525 #AD3333 #CC5151 #DA8080 #E8B0B0

Accessibility & contrast

On white

4.32
#CC5151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC5151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5151
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5151#FFFFFF#000000##000000
##CC51511.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#8F834E
Tritanopia (blue-blind)
#DF3952
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc5151;
/* rgb */ color: rgb(204, 81, 81);
/* oklch */ color: oklch(59.7% 0.157 23.1);
Tailwind
colors: {
  custom: {
    50: '#e28782',
    500: '#cc5151',
    950: '#000000',
  },
}
SCSS
$custom: #cc5151;
$custom-light: #e28782;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5151",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 0,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.15699,
    "h": 23.1
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#CC5151
secondary
#A3D6D6
accent
#DEDE4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C

Preview Lab

Preview with #CC5151

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

Preview Lab → · Contrast checker → · Palette generator →

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