#CC2FB0#CC2FB0

#CC2FB0 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.230 H 336.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC2FB0
RGBrgb(204, 47, 176)
HSLhsl(311, 63%, 49%)
HSVhsv(311, 77%, 80%)
CMYKcmyk(0%, 77%, 13.7%, 20%)
CIE-LABlab(49.51, 71.73, -33.52)
CIE-LCHlch(49.51, 79.18, 334.95°)
OKLaboklab(59.53% 0.2111 -0.0914)
OKLCHoklch(59.53% 0.23 336.6)
XYZxyz(33.7555, 18.0082, 42.7640)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FB0 #2FCC4B
analogous
#9A2FCC #CC2FB0 #CC2F61
triadic
#CC2FB0 #B0CC2F #2FB0CC
tetradic
#CC2FB0 #CC9A2F #2FCC4B #2F61CC
square
#CC2FB0 #CC9A2F #2FCC4B #2F61CC
split-complementary
#CC2FB0 #61CC2F #2FCC9A
monochromatic
#69185A #9A2485 #CC2FB0 #DA5EC4 #E590D6

Accessibility & contrast

On white

4.56
#CC2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC2FB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FB0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FB0#FFFFFF#000000##000000
##CC2FB01.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#D73B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2fb0;
/* rgb */ color: rgb(204, 47, 176);
/* oklch */ color: oklch(59.5% 0.230 336.6);
Tailwind
colors: {
  custom: {
    50: '#e079c8',
    500: '#cc2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fb0;
$custom-light: #e079c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fb0",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 310.701,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.23005,
    "h": 336.6
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#CC2FB0
secondary
#87D094
accent
#E65F42
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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