#CC4E7D#CC4E7D

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

Color values

HEX#CC4E7D
RGBrgb(204, 78, 125)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 61.8%, 38.7%, 20%)
CIE-LABlab(51.58, 54.11, -0.07)
CIE-LCHlch(51.58, 54.11, 359.93°)
OKLaboklab(60.41% 0.1653 0.0005)
OKLCHoklch(60.41% 0.165 0.2)
XYZxyz(31.3298, 19.7703, 21.5642)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E7D #4ECC9D
analogous
#CC4EBC #CC4E7D #CC5E4E
triadic
#CC4E7D #7DCC4E #4E7DCC
tetradic
#CC4E7D #BCCC4E #4ECC9D #5E4ECC
square
#CC4E7D #BCCC4E #4ECC9D #5E4ECC
split-complementary
#CC4E7D #4ECC5E #4EBCCC
monochromatic
#7C2445 #AB315F #CC4E7D #DA7EA0 #E7ADC3

Accessibility & contrast

On white

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

On black

4.95
#CC4E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E7D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E7D#FFFFFF#000000##000000
##CC4E7D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DC4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4e7d;
/* rgb */ color: rgb(204, 78, 125);
/* oklch */ color: oklch(60.4% 0.165 0.2);
Tailwind
colors: {
  custom: {
    50: '#e086a2',
    500: '#cc4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e7d;
$custom-light: #e086a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e7d",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 337.619,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.16527,
    "h": 0.2
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#CC4E7D
secondary
#A1D5C2
accent
#DFA749
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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