#CC4E7B#CC4E7B

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

Color values

HEX#CC4E7B
RGBrgb(204, 78, 123)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 61.8%, 39.7%, 20%)
CIE-LABlab(51.52, 53.90, 1.05)
CIE-LCHlch(51.52, 53.91, 1.11°)
OKLaboklab(60.35% 0.1646 0.0034)
OKLCHoklch(60.35% 0.165 1.2)
XYZxyz(31.2034, 19.7198, 20.8981)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E7B #4ECC9F
analogous
#CC4EBA #CC4E7B #CC604E
triadic
#CC4E7B #7BCC4E #4E7BCC
tetradic
#CC4E7B #BACC4E #4ECC9F #604ECC
square
#CC4E7B #BACC4E #4ECC9F #604ECC
split-complementary
#CC4E7B #4ECC60 #4EBACC
monochromatic
#7C2443 #AB315D #CC4E7B #DA7E9E #E7ADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4E7B#FFFFFF#000000##000000
##CC4E7B1.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)
#666C7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DC4160
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4e7b;
/* rgb */ color: rgb(204, 78, 123);
/* oklch */ color: oklch(60.3% 0.165 1.2);
Tailwind
colors: {
  custom: {
    50: '#e086a1',
    500: '#cc4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e7b;
$custom-light: #e086a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e7b",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 338.571,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.16461,
    "h": 1.2
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#CC4E7B
secondary
#A1D5C2
accent
#DFA949
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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