#CC4EAF#CC4EAF

#CC4EAF is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.193 H 337.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC4EAF
RGBrgb(204, 78, 175)
HSLhsl(314, 55%, 55%)
HSVhsv(314, 62%, 80%)
CMYKcmyk(0%, 61.8%, 14.2%, 20%)
CIE-LABlab(53.37, 60.62, -26.92)
CIE-LCHlch(53.37, 66.33, 336.05°)
OKLaboklab(62.32% 0.1783 -0.0728)
OKLCHoklch(62.32% 0.193 337.8)
XYZxyz(35.3646, 21.3843, 42.8141)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EAF #4ECC6B
analogous
#AA4ECC #CC4EAF #CC4E70
triadic
#CC4EAF #AFCC4E #4EAFCC
tetradic
#CC4EAF #CCAA4E #4ECC6B #4E70CC
square
#CC4EAF #CCAA4E #4ECC6B #4E70CC
split-complementary
#CC4EAF #70CC4E #4ECCAA
monochromatic
#7C2468 #AB318F #CC4EAF #DA7EC4 #E7ADDA

Accessibility & contrast

On white

3.98
#CC4EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CC4EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EAF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EAF#FFFFFF#000000##000000
##CC4EAF1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#D65377
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4eaf;
/* rgb */ color: rgb(204, 78, 175);
/* oklch */ color: oklch(62.3% 0.193 337.8);
Tailwind
colors: {
  custom: {
    50: '#df87c7',
    500: '#cc4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #cc4eaf;
$custom-light: #df87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4eaf",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 313.81,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.19261,
    "h": 337.8
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#CC4EAF
secondary
#A1D5AD
accent
#DF6C49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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