#CC4862#CC4862

#CC4862 is a mid, vivid red. Relative luminance 0.184; OKLCH L 58.9% C 0.167 H 12.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC4862
RGBrgb(204, 72, 98)
HSLhsl(348, 56%, 54%)
HSVhsv(348, 65%, 80%)
CMYKcmyk(0%, 64.7%, 52%, 20%)
CIE-LABlab(49.93, 54.08, 13.82)
CIE-LCHlch(49.93, 55.82, 14.34°)
OKLaboklab(58.95% 0.1635 0.0351)
OKLCHoklch(58.95% 0.167 12.1)
XYZxyz(29.4263, 18.3577, 13.5467)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4862 #48CCB2
analogous
#CC48A4 #CC4862 #CC7048
triadic
#CC4862 #62CC48 #4862CC
tetradic
#CC4862 #A4CC48 #48CCB2 #7048CC
square
#CC4862 #A4CC48 #48CCB2 #7048CC
split-complementary
#CC4862 #48CC70 #48A4CC
monochromatic
#782133 #A82F47 #CC4862 #D9788B #E7A8B4

Accessibility & contrast

On white

4.50
#CC4862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CC4862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4862
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4862#FFFFFF#000000##000000
##CC48621.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676662
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#DE3152
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc4862;
/* rgb */ color: rgb(204, 72, 98);
/* oklch */ color: oklch(58.9% 0.167 12.1);
Tailwind
colors: {
  custom: {
    50: '#e1828e',
    500: '#cc4862',
    950: '#000000',
  },
}
SCSS
$custom: #cc4862;
$custom-light: #e1828e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4862",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 98
  },
  "hsl": {
    "h": 348.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58949,
    "c": 0.16726,
    "h": 12.1
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#CC4862
secondary
#9CD4C9
accent
#E0C248
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D

Preview Lab

Preview with #CC4862

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

Preview Lab → · Contrast checker → · Palette generator →

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