#CC2D63#CC2D63

#CC2D63 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.4% C 0.196 H 6.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC2D63
RGBrgb(204, 45, 99)
HSLhsl(340, 64%, 49%)
HSVhsv(340, 78%, 80%)
CMYKcmyk(0%, 77.9%, 51.5%, 20%)
CIE-LABlab(46.47, 63.80, 8.38)
CIE-LCHlch(46.47, 64.35, 7.48°)
OKLaboklab(56.4% 0.1948 0.0218)
OKLCHoklch(56.4% 0.196 6.4)
XYZxyz(28.0949, 15.6190, 13.3373)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D63 #2DCC96
analogous
#CC2DB3 #CC2D63 #CC472D
triadic
#CC2D63 #63CC2D #2D63CC
tetradic
#CC2D63 #B3CC2D #2DCC96 #472DCC
square
#CC2D63 #B3CC2D #2DCC96 #472DCC
split-complementary
#CC2D63 #2DCC47 #2DB3CC
monochromatic
#681732 #9A224B #CC2D63 #DB5B87 #E68DAC

Accessibility & contrast

On white

5.09
#CC2D63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CC2D63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D63
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D63#FFFFFF#000000##FFFFFF
##CC2D631.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565A64
Deuteranopia (green-blind)
#80795F
Tritanopia (blue-blind)
#DE0045
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d63;
/* rgb */ color: rgb(204, 45, 99);
/* oklch */ color: oklch(56.4% 0.196 6.4);
Tailwind
colors: {
  custom: {
    50: '#e2768f',
    500: '#cc2d63',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d63;
$custom-light: #e2768f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d63",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 339.623,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.19601,
    "h": 6.4
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#CC2D63
secondary
#85D0B7
accent
#E7AF41
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC2D63

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

Preview Lab → · Contrast checker → · Palette generator →

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