#CC2F6F#CC2F6F

#CC2F6F is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.9% C 0.197 H 1.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC2F6F
RGBrgb(204, 47, 111)
HSLhsl(336, 63%, 49%)
HSVhsv(336, 77%, 80%)
CMYKcmyk(0%, 77%, 45.6%, 20%)
CIE-LABlab(47.00, 64.23, 1.76)
CIE-LCHlch(47.00, 64.25, 1.57°)
OKLaboklab(56.89% 0.1971 0.0052)
OKLCHoklch(56.89% 0.197 1.5)
XYZxyz(28.7899, 16.0220, 16.6124)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2F6F #2FCC8C
analogous
#CC2FBE #CC2F6F #CC3D2F
triadic
#CC2F6F #6FCC2F #2F6FCC
tetradic
#CC2F6F #BECC2F #2FCC8C #3D2FCC
square
#CC2F6F #BECC2F #2FCC8C #3D2FCC
split-complementary
#CC2F6F #2FCC3D #2FBECC
monochromatic
#691839 #9A2454 #CC2F6F #DA5E91 #E590B3

Accessibility & contrast

On white

5.00
#CC2F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CC2F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2F6F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2F6F#FFFFFF#000000##FFFFFF
##CC2F6F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C70
Deuteranopia (green-blind)
#7E7A6B
Tritanopia (blue-blind)
#DE084B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2f6f;
/* rgb */ color: rgb(204, 47, 111);
/* oklch */ color: oklch(56.9% 0.197 1.5);
Tailwind
colors: {
  custom: {
    50: '#e27798',
    500: '#cc2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #cc2f6f;
$custom-light: #e27798;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2f6f",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 335.541,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.1972,
    "h": 1.5
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#CC2F6F
secondary
#87D0B2
accent
#E6A342
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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