#CC4054#CC4054

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

Color values

HEX#CC4054
RGBrgb(204, 64, 84)
HSLhsl(351, 58%, 53%)
HSVhsv(351, 69%, 80%)
CMYKcmyk(0%, 68.6%, 58.8%, 20%)
CIE-LABlab(48.45, 56.24, 20.27)
CIE-LCHlch(48.45, 59.78, 19.82°)
OKLaboklab(57.75% 0.1684 0.0498)
OKLCHoklch(57.75% 0.176 16.5)
XYZxyz(28.3382, 17.1482, 10.2035)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4054 #40CCB8
analogous
#CC409A #CC4054 #CC7240
triadic
#CC4054 #54CC40 #4054CC
tetradic
#CC4054 #9ACC40 #40CCB8 #7240CC
square
#CC4054 #9ACC40 #40CCB8 #7240CC
split-complementary
#CC4054 #40CC72 #409ACC
monochromatic
#731F2B #A32C3D #CC4054 #D9707F #E6A1AA

Accessibility & contrast

On white

4.74
#CC4054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC4054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4054
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4054#FFFFFF#000000##FFFFFF
##CC40541.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646054
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#DF1F48
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4054;
/* rgb */ color: rgb(204, 64, 84);
/* oklch */ color: oklch(57.7% 0.176 16.5);
Tailwind
colors: {
  custom: {
    50: '#e27e84',
    500: '#cc4054',
    950: '#000000',
  },
}
SCSS
$custom: #cc4054;
$custom-light: #e27e84;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4054",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 84
  },
  "hsl": {
    "h": 351.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.1756,
    "h": 16.5
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#CC4054
secondary
#95D2CA
accent
#E1CB47
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC4054

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

Preview Lab → · Contrast checker → · Palette generator →

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