#CC2B5C#CC2B5C

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

Color values

HEX#CC2B5C
RGBrgb(204, 43, 92)
HSLhsl(342, 65%, 48%)
HSVhsv(342, 79%, 80%)
CMYKcmyk(0%, 78.9%, 54.9%, 20%)
CIE-LABlab(46.10, 63.83, 12.18)
CIE-LCHlch(46.10, 64.99, 10.81°)
OKLaboklab(56.07% 0.194 0.0309)
OKLCHoklch(56.07% 0.196 9.1)
XYZxyz(27.7002, 15.3418, 11.6258)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B5C #2BCC9B
analogous
#CC2BAC #CC2B5C #CC4A2B
triadic
#CC2B5C #5CCC2B #2B5CCC
tetradic
#CC2B5C #ACCC2B #2BCC9B #4A2BCC
square
#CC2B5C #ACCC2B #2BCC9B #4A2BCC
split-complementary
#CC2B5C #2BCC4A #2BACCC
monochromatic
#67162E #992045 #CC2B5C #DC5880 #E78BA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2B5C#FFFFFF#000000##FFFFFF
##CC2B5C1.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)
#57595D
Deuteranopia (green-blind)
#817958
Tritanopia (blue-blind)
#DF0041
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2b5c;
/* rgb */ color: rgb(204, 43, 92);
/* oklch */ color: oklch(56.1% 0.196 9.1);
Tailwind
colors: {
  custom: {
    50: '#e37589',
    500: '#cc2b5c',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b5c;
$custom-light: #e37589;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b5c",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 341.739,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56065,
    "c": 0.19649,
    "h": 9.1
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#CC2B5C
secondary
#82D0B9
accent
#E8B540
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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