#CC4E9F#CC4E9F

#CC4E9F is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.182 H 344.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC4E9F
RGBrgb(204, 78, 159)
HSLhsl(321, 55%, 55%)
HSVhsv(321, 62%, 80%)
CMYKcmyk(0%, 61.8%, 22.1%, 20%)
CIE-LABlab(52.72, 58.32, -18.55)
CIE-LCHlch(52.72, 61.20, 342.36°)
OKLaboklab(61.63% 0.1751 -0.0493)
OKLCHoklch(61.63% 0.182 344.3)
XYZxyz(33.8853, 20.7925, 35.0229)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E9F #4ECC7B
analogous
#BA4ECC #CC4E9F #CC4E60
triadic
#CC4E9F #9FCC4E #4E9FCC
tetradic
#CC4E9F #CCBA4E #4ECC7B #4E60CC
square
#CC4E9F #CCBA4E #4ECC7B #4E60CC
split-complementary
#CC4E9F #60CC4E #4ECCBA
monochromatic
#7C245C #AB3180 #CC4E9F #DA7EB9 #E7ADD3

Accessibility & contrast

On white

4.07
#CC4E9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC4E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E9F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E9F#FFFFFF#000000##000000
##CC4E9F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A70A1
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#D94D70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4e9f;
/* rgb */ color: rgb(204, 78, 159);
/* oklch */ color: oklch(61.6% 0.182 344.3);
Tailwind
colors: {
  custom: {
    50: '#df87bb',
    500: '#cc4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e9f;
$custom-light: #df87bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e9f",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 321.429,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6163,
    "c": 0.18189,
    "h": 344.3
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#CC4E9F
secondary
#A1D5B3
accent
#DF7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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