#CC4E7E#CC4E7E

#CC4E7E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.166 H 359.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC4E7E
RGBrgb(204, 78, 126)
HSLhsl(337, 55%, 55%)
HSVhsv(337, 62%, 80%)
CMYKcmyk(0%, 61.8%, 38.2%, 20%)
CIE-LABlab(51.61, 54.22, -0.62)
CIE-LCHlch(51.61, 54.23, 359.34°)
OKLaboklab(60.44% 0.1656 -0.001)
OKLCHoklch(60.44% 0.166 359.7)
XYZxyz(31.3940, 19.7960, 21.9023)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E7E #4ECC9C
analogous
#CC4EBD #CC4E7E #CC5D4E
triadic
#CC4E7E #7ECC4E #4E7ECC
tetradic
#CC4E7E #BDCC4E #4ECC9C #5D4ECC
square
#CC4E7E #BDCC4E #4ECC9C #5D4ECC
split-complementary
#CC4E7E #4ECC5D #4EBDCC
monochromatic
#7C2445 #AB3160 #CC4E7E #DA7EA1 #E7ADC3

Accessibility & contrast

On white

4.24
#CC4E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC4E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E7E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E7E#FFFFFF#000000##000000
##CC4E7E1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#86847B
Tritanopia (blue-blind)
#DC4261
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4e7e;
/* rgb */ color: rgb(204, 78, 126);
/* oklch */ color: oklch(60.4% 0.166 359.7);
Tailwind
colors: {
  custom: {
    50: '#e086a3',
    500: '#cc4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e7e;
$custom-light: #e086a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e7e",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 337.143,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.16561,
    "h": 359.7
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#CC4E7E
secondary
#A1D5C1
accent
#DFA649
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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