#CC2C62#CC2C62

#CC2C62 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.197 H 6.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC2C62
RGBrgb(204, 44, 98)
HSLhsl(340, 65%, 49%)
HSVhsv(340, 78%, 80%)
CMYKcmyk(0%, 78.4%, 52%, 20%)
CIE-LABlab(46.34, 64.00, 8.82)
CIE-LCHlch(46.34, 64.61, 7.85°)
OKLaboklab(56.29% 0.1954 0.0228)
OKLCHoklch(56.29% 0.197 6.7)
XYZxyz(28.0097, 15.5246, 13.0745)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2C62 #2CCC96
analogous
#CC2CB2 #CC2C62 #CC462C
triadic
#CC2C62 #62CC2C #2C62CC
tetradic
#CC2C62 #B2CC2C #2CCC96 #462CCC
square
#CC2C62 #B2CC2C #2CCC96 #462CCC
split-complementary
#CC2C62 #2CCC46 #2CB2CC
monochromatic
#671632 #9A214A #CC2C62 #DB5A86 #E68CAB

Accessibility & contrast

On white

5.12
#CC2C62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CC2C62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2C62
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2C62#FFFFFF#000000##FFFFFF
##CC2C621.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565963
Deuteranopia (green-blind)
#80795E
Tritanopia (blue-blind)
#DF0044
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2c62;
/* rgb */ color: rgb(204, 44, 98);
/* oklch */ color: oklch(56.3% 0.197 6.7);
Tailwind
colors: {
  custom: {
    50: '#e2758e',
    500: '#cc2c62',
    950: '#000000',
  },
}
SCSS
$custom: #cc2c62;
$custom-light: #e2758e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2c62",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 339.75,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.19669,
    "h": 6.7
  },
  "luminance": 0.15521
}

Semantic roles & 50–950 ramp

primary
#CC2C62
secondary
#83D0B6
accent
#E8AF40
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CC2C62

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

Preview Lab → · Contrast checker → · Palette generator →

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