#CC2B6E#CC2B6E

#CC2B6E is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.201 H 1.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC2B6E
RGBrgb(204, 43, 110)
HSLhsl(335, 65%, 48%)
HSVhsv(335, 79%, 80%)
CMYKcmyk(0%, 78.9%, 46.1%, 20%)
CIE-LABlab(46.57, 65.28, 1.74)
CIE-LCHlch(46.57, 65.30, 1.53°)
OKLaboklab(56.57% 0.2005 0.0052)
OKLCHoklch(56.57% 0.201 1.5)
XYZxyz(28.5826, 15.6948, 16.2731)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B6E #2BCC89
analogous
#CC2BBE #CC2B6E #CC382B
triadic
#CC2B6E #6ECC2B #2B6ECC
tetradic
#CC2B6E #BECC2B #2BCC89 #382BCC
square
#CC2B6E #BECC2B #2BCC89 #382BCC
split-complementary
#CC2B6E #2BCC38 #2BBECC
monochromatic
#671637 #992053 #CC2B6E #DC588F #E78BB1

Accessibility & contrast

On white

5.07
#CC2B6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CC2B6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B6E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B6E#FFFFFF#000000##FFFFFF
##CC2B6E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc2b6e;
/* rgb */ color: rgb(204, 43, 110);
/* oklch */ color: oklch(56.6% 0.201 1.5);
Tailwind
colors: {
  custom: {
    50: '#e27597',
    500: '#cc2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b6e;
$custom-light: #e27597;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b6e",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 335.031,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.20054,
    "h": 1.5
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#CC2B6E
secondary
#82D0B0
accent
#E8A240
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CC2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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