#CC2B74#CC2B74

#CC2B74 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.202 H 359.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC2B74
RGBrgb(204, 43, 116)
HSLhsl(333, 65%, 48%)
HSVhsv(333, 79%, 80%)
CMYKcmyk(0%, 78.9%, 43.1%, 20%)
CIE-LABlab(46.75, 65.82, -1.68)
CIE-LCHlch(46.75, 65.84, 358.54°)
OKLaboklab(56.76% 0.2024 -0.0036)
OKLCHoklch(56.76% 0.202 359)
XYZxyz(28.9204, 15.8299, 18.0522)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B74 #2BCC83
analogous
#CC2BC4 #CC2B74 #CC322B
triadic
#CC2B74 #74CC2B #2B74CC
tetradic
#CC2B74 #C4CC2B #2BCC83 #322BCC
square
#CC2B74 #C4CC2B #2BCC83 #322BCC
split-complementary
#CC2B74 #2BCC32 #2BC4CC
monochromatic
#67163B #992057 #CC2B74 #DC5894 #E78BB4

Accessibility & contrast

On white

5.04
#CC2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#CC2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B74
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B74#FFFFFF#000000##FFFFFF
##CC2B741.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B76
Deuteranopia (green-blind)
#7C7A70
Tritanopia (blue-blind)
#DD034C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2b74;
/* rgb */ color: rgb(204, 43, 116);
/* oklch */ color: oklch(56.8% 0.202 359.0);
Tailwind
colors: {
  custom: {
    50: '#e1759b',
    500: '#cc2b74',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b74;
$custom-light: #e1759b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b74",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 332.795,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.20245,
    "h": 359
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#CC2B74
secondary
#82D0AD
accent
#E89C40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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