#CC405F#CC405F

#CC405F is a mid, vivid red. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 11.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC405F
RGBrgb(204, 64, 95)
HSLhsl(347, 58%, 53%)
HSVhsv(347, 69%, 80%)
CMYKcmyk(0%, 68.6%, 53.4%, 20%)
CIE-LABlab(48.68, 57.06, 13.92)
CIE-LCHlch(48.68, 58.73, 13.71°)
OKLaboklab(58% 0.1727 0.0352)
OKLCHoklch(58% 0.176 11.5)
XYZxyz(28.8034, 17.3343, 12.6534)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC405F #40CCAD
analogous
#CC40A5 #CC405F #CC6740
triadic
#CC405F #5FCC40 #405FCC
tetradic
#CC405F #A5CC40 #40CCAD #6740CC
square
#CC405F #A5CC40 #40CCAD #6740CC
split-complementary
#CC405F #40CC67 #40A5CC
monochromatic
#731F31 #A32C46 #CC405F #D97087 #E6A1B0

Accessibility & contrast

On white

4.70
#CC405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC405F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC405F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC405F#FFFFFF#000000##FFFFFF
##CC405F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615F
Deuteranopia (green-blind)
#867E5C
Tritanopia (blue-blind)
#DE244C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc405f;
/* rgb */ color: rgb(204, 64, 95);
/* oklch */ color: oklch(58.0% 0.176 11.5);
Tailwind
colors: {
  custom: {
    50: '#e27e8c',
    500: '#cc405f',
    950: '#000000',
  },
}
SCSS
$custom: #cc405f;
$custom-light: #e27e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc405f",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 346.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.17621,
    "h": 11.5
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#CC405F
secondary
#95D2C5
accent
#E1BF47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CC405F

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

Preview Lab → · Contrast checker → · Palette generator →

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