#CC2D4F#CC2D4F

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

Color values

HEX#CC2D4F
RGBrgb(204, 45, 79)
HSLhsl(347, 64%, 49%)
HSVhsv(347, 78%, 80%)
CMYKcmyk(0%, 77.9%, 61.3%, 20%)
CIE-LABlab(46.02, 62.39, 20.10)
CIE-LCHlch(46.02, 65.55, 17.86°)
OKLaboklab(55.92% 0.1872 0.049)
OKLCHoklch(55.92% 0.194 14.7)
XYZxyz(27.2544, 15.2827, 8.9104)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D4F #2DCCAA
analogous
#CC2D9F #CC2D4F #CC5B2D
triadic
#CC2D4F #4FCC2D #2D4FCC
tetradic
#CC2D4F #9FCC2D #2DCCAA #5B2DCC
square
#CC2D4F #9FCC2D #2DCCAA #5B2DCC
split-complementary
#CC2D4F #2DCC5B #2D9FCC
monochromatic
#681728 #9A223C #CC2D4F #DB5B77 #E68DA0

Accessibility & contrast

On white

5.18
#CC2D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC2D4F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D4F#FFFFFF#000000##FFFFFF
##CC2D4F1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584F
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#E0003C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d4f;
/* rgb */ color: rgb(204, 45, 79);
/* oklch */ color: oklch(55.9% 0.194 14.7);
Tailwind
colors: {
  custom: {
    50: '#e37580',
    500: '#cc2d4f',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d4f;
$custom-light: #e37580;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d4f",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 347.17,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.19354,
    "h": 14.7
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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