#CC2E76#CC2E76

#CC2E76 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.0% C 0.200 H 358.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC2E76
RGBrgb(204, 46, 118)
HSLhsl(333, 63%, 49%)
HSVhsv(333, 77%, 80%)
CMYKcmyk(0%, 77.5%, 42.2%, 20%)
CIE-LABlab(47.11, 65.17, -2.38)
CIE-LCHlch(47.11, 65.21, 357.91°)
OKLaboklab(57.04% 0.2003 -0.0054)
OKLCHoklch(57.04% 0.2 358.4)
XYZxyz(29.1511, 16.1032, 18.7092)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2E76 #2ECC84
analogous
#CC2EC5 #CC2E76 #CC352E
triadic
#CC2E76 #76CC2E #2E76CC
tetradic
#CC2E76 #C5CC2E #2ECC84 #352ECC
square
#CC2E76 #C5CC2E #2ECC84 #352ECC
split-complementary
#CC2E76 #2ECC35 #2EC5CC
monochromatic
#68173C #9A2359 #CC2E76 #DA5D96 #E68FB6

Accessibility & contrast

On white

4.98
#CC2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#CC2E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2E76
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2E76#FFFFFF#000000##FFFFFF
##CC2E761.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D78
Deuteranopia (green-blind)
#7D7A72
Tritanopia (blue-blind)
#DD0F4E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc2e76;
/* rgb */ color: rgb(204, 46, 118);
/* oklch */ color: oklch(57.0% 0.200 358.4);
Tailwind
colors: {
  custom: {
    50: '#e1779d',
    500: '#cc2e76',
    950: '#000000',
  },
}
SCSS
$custom: #cc2e76;
$custom-light: #e1779d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2e76",
  "rgb": {
    "r": 204,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 332.658,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.20041,
    "h": 358.4
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#CC2E76
secondary
#86D0AE
accent
#E69B42
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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