#CC2B6D#CC2B6D

#CC2B6D is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.5% C 0.200 H 1.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC2B6D
RGBrgb(204, 43, 109)
HSLhsl(335, 65%, 48%)
HSVhsv(335, 79%, 80%)
CMYKcmyk(0%, 78.9%, 46.6%, 20%)
CIE-LABlab(46.54, 65.19, 2.32)
CIE-LCHlch(46.54, 65.23, 2.04°)
OKLaboklab(56.54% 0.2001 0.0067)
OKLCHoklch(56.54% 0.2 1.9)
XYZxyz(28.5284, 15.6732, 15.9880)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B6D #2BCC8A
analogous
#CC2BBD #CC2B6D #CC3A2B
triadic
#CC2B6D #6DCC2B #2B6DCC
tetradic
#CC2B6D #BDCC2B #2BCC8A #3A2BCC
square
#CC2B6D #BDCC2B #2BCC8A #3A2BCC
split-complementary
#CC2B6D #2BCC3A #2BBDCC
monochromatic
#671637 #992052 #CC2B6D #DC588E #E78BB0

Accessibility & contrast

On white

5.08
#CC2B6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#CC2B6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B6D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B6D#FFFFFF#000000##FFFFFF
##CC2B6D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6E
Deuteranopia (green-blind)
#7E7969
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2b6d;
/* rgb */ color: rgb(204, 43, 109);
/* oklch */ color: oklch(56.5% 0.200 1.9);
Tailwind
colors: {
  custom: {
    50: '#e27596',
    500: '#cc2b6d',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b6d;
$custom-light: #e27596;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b6d",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 335.404,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.20024,
    "h": 1.9
  },
  "luminance": 0.15669
}

Semantic roles & 50–950 ramp

primary
#CC2B6D
secondary
#82D0B0
accent
#E8A340
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC2B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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