#CC2B6A#CC2B6A

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

Color values

HEX#CC2B6A
RGBrgb(204, 43, 106)
HSLhsl(337, 65%, 48%)
HSVhsv(337, 79%, 80%)
CMYKcmyk(0%, 78.9%, 48%, 20%)
CIE-LABlab(46.46, 64.93, 4.05)
CIE-LCHlch(46.46, 65.06, 3.56°)
OKLaboklab(56.45% 0.1991 0.011)
OKLCHoklch(56.45% 0.199 3.2)
XYZxyz(28.3697, 15.6097, 15.1520)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B6A #2BCC8D
analogous
#CC2BBA #CC2B6A #CC3D2B
triadic
#CC2B6A #6ACC2B #2B6ACC
tetradic
#CC2B6A #BACC2B #2BCC8D #3D2BCC
square
#CC2B6A #BACC2B #2BCC8D #3D2BCC
split-complementary
#CC2B6A #2BCC3D #2BBACC
monochromatic
#671635 #992050 #CC2B6A #DC588C #E78BAF

Accessibility & contrast

On white

5.10
#CC2B6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC2B6A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B6A#FFFFFF#000000##FFFFFF
##CC2B6A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545A6B
Deuteranopia (green-blind)
#7E7966
Tritanopia (blue-blind)
#DE0047
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2b6a;
/* rgb */ color: rgb(204, 43, 106);
/* oklch */ color: oklch(56.4% 0.199 3.2);
Tailwind
colors: {
  custom: {
    50: '#e27594',
    500: '#cc2b6a',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b6a;
$custom-light: #e27594;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b6a",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 336.522,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.19941,
    "h": 3.2
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#CC2B6A
secondary
#82D0B2
accent
#E8A640
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC2B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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