#CC4E8F#CC4E8F

#CC4E8F is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.173 H 351.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC4E8F
RGBrgb(204, 78, 143)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 61.8%, 29.9%, 20%)
CIE-LABlab(52.14, 56.22, -9.96)
CIE-LCHlch(52.14, 57.10, 349.95°)
OKLaboklab(61.01% 0.1709 -0.0258)
OKLCHoklch(61.01% 0.173 351.4)
XYZxyz(32.5857, 20.2727, 28.1782)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E8F #4ECC8B
analogous
#CA4ECC #CC4E8F #CC4E50
triadic
#CC4E8F #8FCC4E #4E8FCC
tetradic
#CC4E8F #CCCA4E #4ECC8B #4E50CC
square
#CC4E8F #CCCA4E #4ECC8B #4E50CC
split-complementary
#CC4E8F #50CC4E #4ECCCA
monochromatic
#7C2451 #AB3170 #CC4E8F #DA7EAD #E7ADCB

Accessibility & contrast

On white

4.16
#CC4E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC4E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E8F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E8F#FFFFFF#000000##000000
##CC4E8F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E91
Deuteranopia (green-blind)
#82858C
Tritanopia (blue-blind)
#DA4868
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4e8f;
/* rgb */ color: rgb(204, 78, 143);
/* oklch */ color: oklch(61.0% 0.173 351.4);
Tailwind
colors: {
  custom: {
    50: '#df86af',
    500: '#cc4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e8f;
$custom-light: #df86af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e8f",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 329.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61014,
    "c": 0.17286,
    "h": 351.4
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#CC4E8F
secondary
#A1D5BA
accent
#DF9249
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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