#CC4057#CC4057

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

Color values

HEX#CC4057
RGBrgb(204, 64, 87)
HSLhsl(350, 58%, 53%)
HSVhsv(350, 69%, 80%)
CMYKcmyk(0%, 68.6%, 57.4%, 20%)
CIE-LABlab(48.51, 56.45, 18.54)
CIE-LCHlch(48.51, 59.42, 18.18°)
OKLaboklab(57.81% 0.1696 0.0459)
OKLCHoklch(57.81% 0.176 15.1)
XYZxyz(28.4582, 17.1962, 10.8356)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4057 #40CCB5
analogous
#CC409D #CC4057 #CC6F40
triadic
#CC4057 #57CC40 #4057CC
tetradic
#CC4057 #9DCC40 #40CCB5 #6F40CC
square
#CC4057 #9DCC40 #40CCB5 #6F40CC
split-complementary
#CC4057 #40CC6F #409DCC
monochromatic
#731F2D #A32C3F #CC4057 #D97081 #E6A1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4057#FFFFFF#000000##FFFFFF
##CC40571.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)
#646157
Deuteranopia (green-blind)
#877E53
Tritanopia (blue-blind)
#DF2049
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4057;
/* rgb */ color: rgb(204, 64, 87);
/* oklch */ color: oklch(57.8% 0.176 15.1);
Tailwind
colors: {
  custom: {
    50: '#e27e86',
    500: '#cc4057',
    950: '#000000',
  },
}
SCSS
$custom: #cc4057;
$custom-light: #e27e86;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4057",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 87
  },
  "hsl": {
    "h": 350.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.17566,
    "h": 15.1
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#CC4057
secondary
#95D2C8
accent
#E1C847
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CC4057

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

Preview Lab → · Contrast checker → · Palette generator →

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