#CC2D52#CC2D52

#CC2D52 is a mid, vivid red. Relative luminance 0.153; OKLCH L 56.0% C 0.194 H 13.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CC2D52
RGBrgb(204, 45, 82)
HSLhsl(346, 64%, 49%)
HSVhsv(346, 78%, 80%)
CMYKcmyk(0%, 77.9%, 59.8%, 20%)
CIE-LABlab(46.08, 62.58, 18.33)
CIE-LCHlch(46.08, 65.21, 16.33°)
OKLaboklab(55.98% 0.1884 0.0451)
OKLCHoklch(55.98% 0.194 13.5)
XYZxyz(27.3660, 15.3274, 9.4985)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D52 #2DCCA7
analogous
#CC2DA2 #CC2D52 #CC582D
triadic
#CC2D52 #52CC2D #2D52CC
tetradic
#CC2D52 #A2CC2D #2DCCA7 #582DCC
square
#CC2D52 #A2CC2D #2DCCA7 #582DCC
split-complementary
#CC2D52 #2DCC58 #2DA2CC
monochromatic
#68172A #9A223E #CC2D52 #DB5B79 #E68DA2

Accessibility & contrast

On white

5.17
#CC2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#CC2D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D52
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D52#FFFFFF#000000##FFFFFF
##CC2D521.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5852
Deuteranopia (green-blind)
#83794E
Tritanopia (blue-blind)
#DF003D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d52;
/* rgb */ color: rgb(204, 45, 82);
/* oklch */ color: oklch(56.0% 0.194 13.5);
Tailwind
colors: {
  custom: {
    50: '#e37582',
    500: '#cc2d52',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d52;
$custom-light: #e37582;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d52",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 346.038,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.19371,
    "h": 13.5
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#CC2D52
secondary
#85D0BF
accent
#E7C041
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#17090A
muted
#857B7C

Preview Lab

Preview with #CC2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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