#CC4058#CC4058

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

Color values

HEX#CC4058
RGBrgb(204, 64, 88)
HSLhsl(350, 58%, 53%)
HSVhsv(350, 69%, 80%)
CMYKcmyk(0%, 68.6%, 56.9%, 20%)
CIE-LABlab(48.53, 56.53, 17.96)
CIE-LCHlch(48.53, 59.31, 17.62°)
OKLaboklab(57.84% 0.17 0.0446)
OKLCHoklch(57.84% 0.176 14.7)
XYZxyz(28.4994, 17.2127, 11.0523)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4058 #40CCB4
analogous
#CC409E #CC4058 #CC6E40
triadic
#CC4058 #58CC40 #4058CC
tetradic
#CC4058 #9ECC40 #40CCB4 #6E40CC
square
#CC4058 #9ECC40 #40CCB4 #6E40CC
split-complementary
#CC4058 #40CC6E #409ECC
monochromatic
#731F2D #A32C40 #CC4058 #D97082 #E6A1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4058#FFFFFF#000000##FFFFFF
##CC40581.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)
#636158
Deuteranopia (green-blind)
#877E54
Tritanopia (blue-blind)
#DF204A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4058;
/* rgb */ color: rgb(204, 64, 88);
/* oklch */ color: oklch(57.8% 0.176 14.7);
Tailwind
colors: {
  custom: {
    50: '#e27e86',
    500: '#cc4058',
    950: '#000000',
  },
}
SCSS
$custom: #cc4058;
$custom-light: #e27e86;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4058",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 88
  },
  "hsl": {
    "h": 349.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57835,
    "c": 0.17569,
    "h": 14.7
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4058

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

Preview Lab → · Contrast checker → · Palette generator →

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