#CC2B5D#CC2B5D

#CC2B5D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.1% C 0.197 H 8.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC2B5D
RGBrgb(204, 43, 93)
HSLhsl(341, 65%, 48%)
HSVhsv(341, 79%, 80%)
CMYKcmyk(0%, 78.9%, 54.4%, 20%)
CIE-LABlab(46.12, 63.91, 11.60)
CIE-LCHlch(46.12, 64.95, 10.29°)
OKLaboklab(56.09% 0.1944 0.0295)
OKLCHoklch(56.09% 0.197 8.6)
XYZxyz(27.7442, 15.3594, 11.8576)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B5D #2BCC9A
analogous
#CC2BAD #CC2B5D #CC492B
triadic
#CC2B5D #5DCC2B #2B5DCC
tetradic
#CC2B5D #ADCC2B #2BCC9A #492BCC
square
#CC2B5D #ADCC2B #2BCC9A #492BCC
split-complementary
#CC2B5D #2BCC49 #2BADCC
monochromatic
#67162F #992046 #CC2B5D #DC5881 #E78BA7

Accessibility & contrast

On white

5.16
#CC2B5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#CC2B5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B5D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B5D#FFFFFF#000000##FFFFFF
##CC2B5D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595E
Deuteranopia (green-blind)
#807959
Tritanopia (blue-blind)
#DF0041
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2b5d;
/* rgb */ color: rgb(204, 43, 93);
/* oklch */ color: oklch(56.1% 0.197 8.6);
Tailwind
colors: {
  custom: {
    50: '#e3758a',
    500: '#cc2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b5d;
$custom-light: #e3758a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b5d",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 341.366,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.19664,
    "h": 8.6
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#CC2B5D
secondary
#82D0B8
accent
#E8B440
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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