#CC2D70#CC2D70

#CC2D70 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.8% C 0.199 H 0.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC2D70
RGBrgb(204, 45, 112)
HSLhsl(335, 64%, 49%)
HSVhsv(335, 78%, 80%)
CMYKcmyk(0%, 77.9%, 45.1%, 20%)
CIE-LABlab(46.83, 64.90, 0.89)
CIE-LCHlch(46.83, 64.90, 0.78°)
OKLaboklab(56.77% 0.1993 0.003)
OKLCHoklch(56.77% 0.199 0.9)
XYZxyz(28.7672, 15.8879, 16.8779)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D70 #2DCC89
analogous
#CC2DC0 #CC2D70 #CC3A2D
triadic
#CC2D70 #70CC2D #2D70CC
tetradic
#CC2D70 #C0CC2D #2DCC89 #3A2DCC
square
#CC2D70 #C0CC2D #2DCC89 #3A2DCC
split-complementary
#CC2D70 #2DCC3A #2DC0CC
monochromatic
#681739 #9A2254 #CC2D70 #DB5B91 #E68DB3

Accessibility & contrast

On white

5.03
#CC2D70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CC2D70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D70
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D70#FFFFFF#000000##FFFFFF
##CC2D701.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#7E7A6C
Tritanopia (blue-blind)
#DE034B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2d70;
/* rgb */ color: rgb(204, 45, 112);
/* oklch */ color: oklch(56.8% 0.199 0.9);
Tailwind
colors: {
  custom: {
    50: '#e27698',
    500: '#cc2d70',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d70;
$custom-light: #e27698;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d70",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 334.717,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.19935,
    "h": 0.9
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#CC2D70
secondary
#85D0B0
accent
#E7A141
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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