#CC4062#CC4062

#CC4062 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.1% C 0.177 H 10.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CC4062
RGBrgb(204, 64, 98)
HSLhsl(345, 58%, 53%)
HSVhsv(345, 69%, 80%)
CMYKcmyk(0%, 68.6%, 52%, 20%)
CIE-LABlab(48.75, 57.30, 12.19)
CIE-LCHlch(48.75, 58.58, 12.01°)
OKLaboklab(58.07% 0.1738 0.0311)
OKLCHoklch(58.07% 0.177 10.1)
XYZxyz(28.9424, 17.3899, 13.3854)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4062 #40CCAA
analogous
#CC40A8 #CC4062 #CC6440
triadic
#CC4062 #62CC40 #4062CC
tetradic
#CC4062 #A8CC40 #40CCAA #6440CC
square
#CC4062 #A8CC40 #40CCAA #6440CC
split-complementary
#CC4062 #40CC64 #40A8CC
monochromatic
#731F33 #A32C49 #CC4062 #D9708A #E6A1B1

Accessibility & contrast

On white

4.69
#CC4062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CC4062 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4062
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4062#FFFFFF#000000##FFFFFF
##CC40621.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626263
Deuteranopia (green-blind)
#867E5F
Tritanopia (blue-blind)
#DE254E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4062;
/* rgb */ color: rgb(204, 64, 98);
/* oklch */ color: oklch(58.1% 0.177 10.1);
Tailwind
colors: {
  custom: {
    50: '#e27e8e',
    500: '#cc4062',
    950: '#000000',
  },
}
SCSS
$custom: #cc4062;
$custom-light: #e27e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4062",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 345.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.17657,
    "h": 10.1
  },
  "luminance": 0.17386
}

Semantic roles & 50–950 ramp

primary
#CC4062
secondary
#95D2C4
accent
#E1BC47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CC4062

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

Preview Lab → · Contrast checker → · Palette generator →

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