#CC2B5E#CC2B5E

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

Color values

HEX#CC2B5E
RGBrgb(204, 43, 94)
HSLhsl(341, 65%, 48%)
HSVhsv(341, 79%, 80%)
CMYKcmyk(0%, 78.9%, 53.9%, 20%)
CIE-LABlab(46.15, 63.98, 11.01)
CIE-LCHlch(46.15, 64.92, 9.77°)
OKLaboklab(56.12% 0.1948 0.0281)
OKLCHoklch(56.12% 0.197 8.2)
XYZxyz(27.7887, 15.3773, 12.0924)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B5E #2BCC99
analogous
#CC2BAE #CC2B5E #CC492B
triadic
#CC2B5E #5ECC2B #2B5ECC
tetradic
#CC2B5E #AECC2B #2BCC99 #492BCC
square
#CC2B5E #AECC2B #2BCC99 #492BCC
split-complementary
#CC2B5E #2BCC49 #2BAECC
monochromatic
#67162F #992047 #CC2B5E #DC5882 #E78BA8

Accessibility & contrast

On white

5.15
#CC2B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC2B5E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B5E#FFFFFF#000000##FFFFFF
##CC2B5E1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57595F
Deuteranopia (green-blind)
#80795A
Tritanopia (blue-blind)
#DF0041
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2b5e;
/* rgb */ color: rgb(204, 43, 94);
/* oklch */ color: oklch(56.1% 0.197 8.2);
Tailwind
colors: {
  custom: {
    50: '#e2758b',
    500: '#cc2b5e',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b5e;
$custom-light: #e2758b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b5e",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 340.994,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.19681,
    "h": 8.2
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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