#CC2B6B#CC2B6B

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

Color values

HEX#CC2B6B
RGBrgb(204, 43, 107)
HSLhsl(336, 65%, 48%)
HSVhsv(336, 79%, 80%)
CMYKcmyk(0%, 78.9%, 47.5%, 20%)
CIE-LABlab(46.49, 65.02, 3.47)
CIE-LCHlch(46.49, 65.11, 3.05°)
OKLaboklab(56.48% 0.1994 0.0096)
OKLCHoklch(56.48% 0.2 2.7)
XYZxyz(28.4220, 15.6306, 15.4274)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B6B #2BCC8C
analogous
#CC2BBB #CC2B6B #CC3B2B
triadic
#CC2B6B #6BCC2B #2B6BCC
tetradic
#CC2B6B #BBCC2B #2BCC8C #3B2BCC
square
#CC2B6B #BBCC2B #2BCC8C #3B2BCC
split-complementary
#CC2B6B #2BCC3B #2BBBCC
monochromatic
#671636 #992050 #CC2B6B #DC588D #E78BAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2B6B#FFFFFF#000000##FFFFFF
##CC2B6B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#7E7967
Tritanopia (blue-blind)
#DE0048
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2b6b;
/* rgb */ color: rgb(204, 43, 107);
/* oklch */ color: oklch(56.5% 0.200 2.7);
Tailwind
colors: {
  custom: {
    50: '#e27595',
    500: '#cc2b6b',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b6b;
$custom-light: #e27595;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b6b",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 336.149,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.19968,
    "h": 2.7
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#CC2B6B
secondary
#82D0B1
accent
#E8A540
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#17090D
muted
#857B7E

Preview Lab

Preview with #CC2B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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