#CC2D61#CC2D61

#CC2D61 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.3% C 0.196 H 7.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC2D61
RGBrgb(204, 45, 97)
HSLhsl(340, 64%, 49%)
HSVhsv(340, 78%, 80%)
CMYKcmyk(0%, 77.9%, 52.5%, 20%)
CIE-LABlab(46.42, 63.64, 9.54)
CIE-LCHlch(46.42, 64.35, 8.53°)
OKLaboklab(56.34% 0.1941 0.0246)
OKLCHoklch(56.34% 0.196 7.2)
XYZxyz(28.0005, 15.5812, 12.8400)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D61 #2DCC98
analogous
#CC2DB1 #CC2D61 #CC492D
triadic
#CC2D61 #61CC2D #2D61CC
tetradic
#CC2D61 #B1CC2D #2DCC98 #492DCC
square
#CC2D61 #B1CC2D #2DCC98 #492DCC
split-complementary
#CC2D61 #2DCC49 #2DB1CC
monochromatic
#681731 #9A2249 #CC2D61 #DB5B85 #E68DAA

Accessibility & contrast

On white

5.10
#CC2D61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CC2D61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D61
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D61#FFFFFF#000000##FFFFFF
##CC2D611.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A62
Deuteranopia (green-blind)
#80795D
Tritanopia (blue-blind)
#DF0044
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d61;
/* rgb */ color: rgb(204, 45, 97);
/* oklch */ color: oklch(56.3% 0.196 7.2);
Tailwind
colors: {
  custom: {
    50: '#e2768d',
    500: '#cc2d61',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d61;
$custom-light: #e2768d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d61",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 340.377,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.19562,
    "h": 7.2
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#CC2D61
secondary
#85D0B7
accent
#E7B141
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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