#CC4A7B#CC4A7B

#CC4A7B is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.170 H 0.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CC4A7B
RGBrgb(204, 74, 123)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 64%, 80%)
CMYKcmyk(0%, 63.7%, 39.7%, 20%)
CIE-LABlab(50.88, 55.61, 0.12)
CIE-LCHlch(50.88, 55.61, 0.12°)
OKLaboklab(59.87% 0.17 0.001)
OKLCHoklch(59.87% 0.17 0.3)
XYZxyz(30.9278, 19.1686, 20.8062)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A7B #4ACC9B
analogous
#CC4ABC #CC4A7B #CC5A4A
triadic
#CC4A7B #7BCC4A #4A7BCC
tetradic
#CC4A7B #BCCC4A #4ACC9B #5A4ACC
square
#CC4A7B #BCCC4A #4ACC9B #5A4ACC
split-complementary
#CC4A7B #4ACC5A #4ABCCC
monochromatic
#792243 #A9305D #CC4A7B #D97A9E #E7A9C1

Accessibility & contrast

On white

4.35
#CC4A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CC4A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A7B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A7B#FFFFFF#000000##000000
##CC4A7B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#63697C
Deuteranopia (green-blind)
#858278
Tritanopia (blue-blind)
#DC3C5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4a7b;
/* rgb */ color: rgb(204, 74, 123);
/* oklch */ color: oklch(59.9% 0.170 0.3);
Tailwind
colors: {
  custom: {
    50: '#e084a1',
    500: '#cc4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a7b;
$custom-light: #e084a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a7b",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 337.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.17,
    "h": 0.3
  },
  "luminance": 0.19165
}

Semantic roles & 50–950 ramp

primary
#CC4A7B
secondary
#9DD4C0
accent
#DFA648
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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