#CC4051#CC4051

#CC4051 is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.7% C 0.176 H 17.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC4051
RGBrgb(204, 64, 81)
HSLhsl(353, 58%, 53%)
HSVhsv(353, 69%, 80%)
CMYKcmyk(0%, 68.6%, 60.3%, 20%)
CIE-LABlab(48.39, 56.04, 22.01)
CIE-LCHlch(48.39, 60.20, 21.44°)
OKLaboklab(57.69% 0.1672 0.0536)
OKLCHoklch(57.69% 0.176 17.8)
XYZxyz(28.2232, 17.1022, 9.5979)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4051 #40CCBB
analogous
#CC4097 #CC4051 #CC7540
triadic
#CC4051 #51CC40 #4051CC
tetradic
#CC4051 #97CC40 #40CCBB #7540CC
square
#CC4051 #97CC40 #40CCBB #7540CC
split-complementary
#CC4051 #40CC75 #4097CC
monochromatic
#731F29 #A32C3A #CC4051 #D9707D #E6A1A9

Accessibility & contrast

On white

4.75
#CC4051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CC4051 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4051
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4051#FFFFFF#000000##FFFFFF
##CC40511.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656051
Deuteranopia (green-blind)
#887E4D
Tritanopia (blue-blind)
#DF1D47
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4051;
/* rgb */ color: rgb(204, 64, 81);
/* oklch */ color: oklch(57.7% 0.176 17.8);
Tailwind
colors: {
  custom: {
    50: '#e27e81',
    500: '#cc4051',
    950: '#000000',
  },
}
SCSS
$custom: #cc4051;
$custom-light: #e27e81;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4051",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 81
  },
  "hsl": {
    "h": 352.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57687,
    "c": 0.17561,
    "h": 17.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#CC4051
secondary
#95D2CB
accent
#E1CE47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC4051

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

Preview Lab → · Contrast checker → · Palette generator →

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