#CC2F61#CC2F61

#CC2F61 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.194 H 7.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC2F61
RGBrgb(204, 47, 97)
HSLhsl(341, 63%, 49%)
HSVhsv(341, 77%, 80%)
CMYKcmyk(0%, 77%, 52.5%, 20%)
CIE-LABlab(46.63, 63.06, 9.84)
CIE-LCHlch(46.63, 63.82, 8.87°)
OKLaboklab(56.5% 0.1922 0.0253)
OKLCHoklch(56.5% 0.194 7.5)
XYZxyz(28.0786, 15.7374, 12.8660)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2F61 #2FCC9A
analogous
#CC2FB0 #CC2F61 #CC4C2F
triadic
#CC2F61 #61CC2F #2F61CC
tetradic
#CC2F61 #B0CC2F #2FCC9A #4C2FCC
square
#CC2F61 #B0CC2F #2FCC9A #4C2FCC
split-complementary
#CC2F61 #2FCC4C #2FB0CC
monochromatic
#691832 #9A2449 #CC2F61 #DA5E86 #E590AB

Accessibility & contrast

On white

5.06
#CC2F61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CC2F61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2F61
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2F61#FFFFFF#000000##FFFFFF
##CC2F611.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585A62
Deuteranopia (green-blind)
#817A5D
Tritanopia (blue-blind)
#DF0045
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2f61;
/* rgb */ color: rgb(204, 47, 97);
/* oklch */ color: oklch(56.5% 0.194 7.5);
Tailwind
colors: {
  custom: {
    50: '#e2768d',
    500: '#cc2f61',
    950: '#000000',
  },
}
SCSS
$custom: #cc2f61;
$custom-light: #e2768d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2f61",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 340.892,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56495,
    "c": 0.19383,
    "h": 7.5
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#CC2F61
secondary
#87D0B9
accent
#E6B242
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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