#CC2D48#CC2D48

#CC2D48 is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.8% C 0.193 H 17.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC2D48
RGBrgb(204, 45, 72)
HSLhsl(350, 64%, 49%)
HSVhsv(350, 78%, 80%)
CMYKcmyk(0%, 77.9%, 64.7%, 20%)
CIE-LABlab(45.89, 61.98, 24.22)
CIE-LCHlch(45.89, 66.54, 21.34°)
OKLaboklab(55.78% 0.1845 0.0579)
OKLCHoklch(55.78% 0.193 17.4)
XYZxyz(27.0129, 15.1861, 7.6385)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D48 #2DCCB1
analogous
#CC2D98 #CC2D48 #CC622D
triadic
#CC2D48 #48CC2D #2D48CC
tetradic
#CC2D48 #98CC2D #2DCCB1 #622DCC
square
#CC2D48 #98CC2D #2DCCB1 #622DCC
split-complementary
#CC2D48 #2DCC62 #2D98CC
monochromatic
#681725 #9A2236 #CC2D48 #DB5B71 #E68D9C

Accessibility & contrast

On white

5.20
#CC2D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#CC2D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D48
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D48#FFFFFF#000000##FFFFFF
##CC2D481.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5748
Deuteranopia (green-blind)
#847943
Tritanopia (blue-blind)
#E00039
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d48;
/* rgb */ color: rgb(204, 45, 72);
/* oklch */ color: oklch(55.8% 0.193 17.4);
Tailwind
colors: {
  custom: {
    50: '#e4757a',
    500: '#cc2d48',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d48;
$custom-light: #e4757a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d48",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 72
  },
  "hsl": {
    "h": 349.811,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.19338,
    "h": 17.4
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#CC2D48
secondary
#85D0C3
accent
#E7CB41
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170909
muted
#857B7B

Preview Lab

Preview with #CC2D48

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

Preview Lab → · Contrast checker → · Palette generator →

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