#CC4151#CC4151

#CC4151 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.8% C 0.175 H 18.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC4151
RGBrgb(204, 65, 81)
HSLhsl(353, 58%, 53%)
HSVhsv(353, 68%, 80%)
CMYKcmyk(0%, 68.1%, 60.3%, 20%)
CIE-LABlab(48.53, 55.65, 22.19)
CIE-LCHlch(48.53, 59.91, 21.74°)
OKLaboklab(57.79% 0.166 0.054)
OKLCHoklch(57.79% 0.175 18)
XYZxyz(28.2801, 17.2160, 9.6168)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4151 #41CCBC
analogous
#CC4196 #CC4151 #CC7741
triadic
#CC4151 #51CC41 #4151CC
tetradic
#CC4151 #96CC41 #41CCBC #7741CC
square
#CC4151 #96CC41 #41CCBC #7741CC
split-complementary
#CC4151 #41CC77 #4196CC
monochromatic
#741F29 #A42C3A #CC4151 #D9717D #E6A1A9

Accessibility & contrast

On white

4.73
#CC4151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CC4151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4151
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4151#FFFFFF#000000##FFFFFF
##CC41511.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656151
Deuteranopia (green-blind)
#897E4D
Tritanopia (blue-blind)
#DF1F48
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4151;
/* rgb */ color: rgb(204, 65, 81);
/* oklch */ color: oklch(57.8% 0.175 18.0);
Tailwind
colors: {
  custom: {
    50: '#e27e81',
    500: '#cc4151',
    950: '#000000',
  },
}
SCSS
$custom: #cc4151;
$custom-light: #e27e81;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4151",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 353.094,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.17455,
    "h": 18
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#CC4151
secondary
#96D3CC
accent
#E1CF47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CC4151

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

Preview Lab → · Contrast checker → · Palette generator →

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