#CC2D50#CC2D50

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

Color values

HEX#CC2D50
RGBrgb(204, 45, 80)
HSLhsl(347, 64%, 49%)
HSVhsv(347, 78%, 80%)
CMYKcmyk(0%, 77.9%, 60.8%, 20%)
CIE-LABlab(46.04, 62.45, 19.51)
CIE-LCHlch(46.04, 65.43, 17.35°)
OKLaboklab(55.94% 0.1876 0.0477)
OKLCHoklch(55.94% 0.194 14.3)
XYZxyz(27.2910, 15.2974, 9.1035)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D50 #2DCCA9
analogous
#CC2DA0 #CC2D50 #CC592D
triadic
#CC2D50 #50CC2D #2D50CC
tetradic
#CC2D50 #A0CC2D #2DCCA9 #592DCC
square
#CC2D50 #A0CC2D #2DCCA9 #592DCC
split-complementary
#CC2D50 #2DCC59 #2DA0CC
monochromatic
#681729 #9A223C #CC2D50 #DB5B77 #E68DA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D50#FFFFFF#000000##FFFFFF
##CC2D501.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)
#5A5850
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#E0003C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d50;
/* rgb */ color: rgb(204, 45, 80);
/* oklch */ color: oklch(55.9% 0.194 14.3);
Tailwind
colors: {
  custom: {
    50: '#e37580',
    500: '#cc2d50',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d50;
$custom-light: #e37580;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d50",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 346.792,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.19358,
    "h": 14.3
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#CC2D50
secondary
#85D0C0
accent
#E7C241
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#17090A
muted
#857B7C

Preview Lab

Preview with #CC2D50

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

Preview Lab → · Contrast checker → · Palette generator →

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