#CC4E8A#CC4E8A

#CC4E8A is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.170 H 353.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC4E8A
RGBrgb(204, 78, 138)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 61.8%, 32.4%, 20%)
CIE-LABlab(51.98, 55.61, -7.24)
CIE-LCHlch(51.98, 56.08, 352.58°)
OKLaboklab(60.84% 0.1695 -0.0184)
OKLCHoklch(60.84% 0.17 353.8)
XYZxyz(32.2153, 20.1245, 26.2277)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E8A #4ECC90
analogous
#CC4EC9 #CC4E8A #CC514E
triadic
#CC4E8A #8ACC4E #4E8ACC
tetradic
#CC4E8A #C9CC4E #4ECC90 #514ECC
square
#CC4E8A #C9CC4E #4ECC90 #514ECC
split-complementary
#CC4E8A #4ECC51 #4EC9CC
monochromatic
#7C244E #AB316B #CC4E8A #DA7EA9 #E7ADC9

Accessibility & contrast

On white

4.18
#CC4E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC4E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E8A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E8A#FFFFFF#000000##000000
##CC4E8A1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#616D8C
Deuteranopia (green-blind)
#848487
Tritanopia (blue-blind)
#DB4666
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4e8a;
/* rgb */ color: rgb(204, 78, 138);
/* oklch */ color: oklch(60.8% 0.170 353.8);
Tailwind
colors: {
  custom: {
    50: '#df86ac',
    500: '#cc4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e8a;
$custom-light: #df86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e8a",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 331.429,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.17045,
    "h": 353.8
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#CC4E8A
secondary
#A1D5BC
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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