#CC4EB7#CC4EB7

#CC4EB7 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.7% C 0.198 H 334.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CC4EB7
RGBrgb(204, 78, 183)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 61.8%, 10.3%, 20%)
CIE-LABlab(53.72, 61.85, -31.03)
CIE-LCHlch(53.72, 69.19, 333.35°)
OKLaboklab(62.69% 0.1796 -0.0845)
OKLCHoklch(62.69% 0.198 334.8)
XYZxyz(36.1737, 21.7079, 47.0754)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EB7 #4ECC63
analogous
#A24ECC #CC4EB7 #CC4E78
triadic
#CC4EB7 #B7CC4E #4EB7CC
tetradic
#CC4EB7 #CCA24E #4ECC63 #4E78CC
square
#CC4EB7 #CCA24E #4ECC63 #4E78CC
split-complementary
#CC4EB7 #78CC4E #4ECCA2
monochromatic
#7C246D #AB3197 #CC4EB7 #DA7ECA #E7ADDE

Accessibility & contrast

On white

3.93
#CC4EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CC4EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EB7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EB7#FFFFFF#000000##000000
##CC4EB71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D5567B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4eb7;
/* rgb */ color: rgb(204, 78, 183);
/* oklch */ color: oklch(62.7% 0.198 334.8);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cc4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4eb7;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4eb7",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 310,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62685,
    "c": 0.19847,
    "h": 334.8
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#CC4EB7
secondary
#A1D5A9
accent
#DF6249
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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