#CC4162#CC4162

#CC4162 is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.2% C 0.175 H 10.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC4162
RGBrgb(204, 65, 98)
HSLhsl(346, 58%, 53%)
HSVhsv(346, 68%, 80%)
CMYKcmyk(0%, 68.1%, 52%, 20%)
CIE-LABlab(48.89, 56.91, 12.38)
CIE-LCHlch(48.89, 58.24, 12.28°)
OKLaboklab(58.18% 0.1726 0.0316)
OKLCHoklch(58.18% 0.175 10.4)
XYZxyz(28.9993, 17.5036, 13.4044)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4162 #41CCAB
analogous
#CC41A8 #CC4162 #CC6541
triadic
#CC4162 #62CC41 #4162CC
tetradic
#CC4162 #A8CC41 #41CCAB #6541CC
square
#CC4162 #A8CC41 #41CCAB #6541CC
split-complementary
#CC4162 #41CC65 #41A8CC
monochromatic
#741F33 #A42C48 #CC4162 #D9718A #E6A1B2

Accessibility & contrast

On white

4.67
#CC4162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CC4162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4162
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4162#FFFFFF#000000##FFFFFF
##CC41621.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4162;
/* rgb */ color: rgb(204, 65, 98);
/* oklch */ color: oklch(58.2% 0.175 10.4);
Tailwind
colors: {
  custom: {
    50: '#e17e8e',
    500: '#cc4162',
    950: '#000000',
  },
}
SCSS
$custom: #cc4162;
$custom-light: #e17e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4162",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 345.755,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.17543,
    "h": 10.4
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#CC4162
secondary
#96D3C4
accent
#E1BC47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CC4162

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

Preview Lab → · Contrast checker → · Palette generator →

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