#CC4E7A#CC4E7A

#CC4E7A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.164 H 1.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC4E7A
RGBrgb(204, 78, 122)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 61.8%, 40.2%, 20%)
CIE-LABlab(51.49, 53.79, 1.60)
CIE-LCHlch(51.49, 53.81, 1.71°)
OKLaboklab(60.31% 0.1642 0.0048)
OKLCHoklch(60.31% 0.164 1.7)
XYZxyz(31.1411, 19.6948, 20.5701)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E7A #4ECCA0
analogous
#CC4EB9 #CC4E7A #CC614E
triadic
#CC4E7A #7ACC4E #4E7ACC
tetradic
#CC4E7A #B9CC4E #4ECCA0 #614ECC
square
#CC4E7A #B9CC4E #4ECCA0 #614ECC
split-complementary
#CC4E7A #4ECC61 #4EB9CC
monochromatic
#7C2442 #AB315C #CC4E7A #DA7E9E #E7ADC1

Accessibility & contrast

On white

4.25
#CC4E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC4E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E7A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E7A#FFFFFF#000000##000000
##CC4E7A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B7B
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#DC415F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4e7a;
/* rgb */ color: rgb(204, 78, 122);
/* oklch */ color: oklch(60.3% 0.164 1.7);
Tailwind
colors: {
  custom: {
    50: '#e086a0',
    500: '#cc4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e7a;
$custom-light: #e086a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e7a",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 339.048,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.16431,
    "h": 1.7
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#CC4E7A
secondary
#A1D5C3
accent
#DFAA49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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