#CC4FB7#CC4FB7

#CC4FB7 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.8% C 0.197 H 334.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CC4FB7
RGBrgb(204, 79, 183)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 61%, 80%)
CMYKcmyk(0%, 61.3%, 10.3%, 20%)
CIE-LABlab(53.87, 61.43, -30.79)
CIE-LCHlch(53.87, 68.71, 333.37°)
OKLaboklab(62.8% 0.1783 -0.0838)
OKLCHoklch(62.8% 0.197 334.8)
XYZxyz(36.2453, 21.8511, 47.0993)
Luminance0.2185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FB7 #4FCC64
analogous
#A24FCC #CC4FB7 #CC4F78
triadic
#CC4FB7 #B7CC4F #4FB7CC
tetradic
#CC4FB7 #CCA24F #4FCC64 #4F78CC
square
#CC4FB7 #CCA24F #4FCC64 #4F78CC
split-complementary
#CC4FB7 #78CC4F #4FCCA2
monochromatic
#7D246E #AC3297 #CC4FB7 #DA7ECA #E7AEDE

Accessibility & contrast

On white

3.91
#CC4FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CC4FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FB7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FB7#FFFFFF#000000##000000
##CC4FB71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#7687B4
Tritanopia (blue-blind)
#D5577C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4fb7;
/* rgb */ color: rgb(204, 79, 183);
/* oklch */ color: oklch(62.8% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#df88cd',
    500: '#cc4fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fb7;
$custom-light: #df88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fb7",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 310.08,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62796,
    "c": 0.19706,
    "h": 334.8
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#CC4FB7
secondary
#A1D5AA
accent
#DE6249
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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