#CC2D58#CC2D58

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

Color values

HEX#CC2D58
RGBrgb(204, 45, 88)
HSLhsl(344, 64%, 49%)
HSVhsv(344, 78%, 80%)
CMYKcmyk(0%, 77.9%, 56.9%, 20%)
CIE-LABlab(46.21, 62.98, 14.81)
CIE-LCHlch(46.21, 64.70, 13.23°)
OKLaboklab(56.12% 0.1907 0.0371)
OKLCHoklch(56.12% 0.194 11)
XYZxyz(27.6044, 15.4228, 10.7540)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D58 #2DCCA1
analogous
#CC2DA8 #CC2D58 #CC522D
triadic
#CC2D58 #58CC2D #2D58CC
tetradic
#CC2D58 #A8CC2D #2DCCA1 #522DCC
square
#CC2D58 #A8CC2D #2DCCA1 #522DCC
split-complementary
#CC2D58 #2DCC52 #2DA8CC
monochromatic
#68172D #9A2242 #CC2D58 #DB5B7E #E68DA5

Accessibility & contrast

On white

5.14
#CC2D58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#CC2D58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D58
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D58#FFFFFF#000000##FFFFFF
##CC2D581.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595959
Deuteranopia (green-blind)
#827954
Tritanopia (blue-blind)
#DF0040
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d58;
/* rgb */ color: rgb(204, 45, 88);
/* oklch */ color: oklch(56.1% 0.194 11.0);
Tailwind
colors: {
  custom: {
    50: '#e37586',
    500: '#cc2d58',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d58;
$custom-light: #e37586;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d58",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 343.774,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56116,
    "c": 0.19426,
    "h": 11
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#CC2D58
secondary
#85D0BC
accent
#E7BA41
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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