#CC5262#CC5262

#CC5262 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.2% C 0.155 H 15.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC5262
RGBrgb(204, 82, 98)
HSLhsl(352, 54%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 59.8%, 52%, 20%)
CIE-LABlab(51.56, 49.69, 16.07)
CIE-LCHlch(51.56, 52.23, 17.92°)
OKLaboklab(60.17% 0.1496 0.0405)
OKLCHoklch(60.17% 0.155 15.1)
XYZxyz(30.1262, 19.7575, 13.7800)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5262 #52CCBC
analogous
#CC529F #CC5262 #CC7F52
triadic
#CC5262 #62CC52 #5262CC
tetradic
#CC5262 #9FCC52 #52CCBC #7F52CC
square
#CC5262 #9FCC52 #52CCBC #7F52CC
split-complementary
#CC5262 #52CC7F #529FCC
monochromatic
#7E2531 #AE3343 #CC5262 #DA818D #E8B1B8

Accessibility & contrast

On white

4.24
#CC5262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CC5262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5262
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5262#FFFFFF#000000##000000
##CC52621.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B62
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#DE3F58
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5262;
/* rgb */ color: rgb(204, 82, 98);
/* oklch */ color: oklch(60.2% 0.155 15.1);
Tailwind
colors: {
  custom: {
    50: '#e1888e',
    500: '#cc5262',
    950: '#000000',
  },
}
SCSS
$custom: #cc5262;
$custom-light: #e1888e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5262",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 352.131,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.15501,
    "h": 15.1
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#CC5262
secondary
#A4D6CF
accent
#DECA4A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CC5262

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

Preview Lab → · Contrast checker → · Palette generator →

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