#CC4A7E#CC4A7E

#CC4A7E is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.171 H 358.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC4A7E
RGBrgb(204, 74, 126)
HSLhsl(336, 56%, 55%)
HSVhsv(336, 64%, 80%)
CMYKcmyk(0%, 63.7%, 38.2%, 20%)
CIE-LABlab(50.97, 55.94, -1.55)
CIE-LCHlch(50.97, 55.96, 358.41°)
OKLaboklab(59.97% 0.171 -0.0034)
OKLCHoklch(59.97% 0.171 358.9)
XYZxyz(31.1185, 19.2448, 21.8105)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A7E #4ACC98
analogous
#CC4ABF #CC4A7E #CC574A
triadic
#CC4A7E #7ECC4A #4A7ECC
tetradic
#CC4A7E #BFCC4A #4ACC98 #574ACC
square
#CC4A7E #BFCC4A #4ACC98 #574ACC
split-complementary
#CC4A7E #4ACC57 #4ABFCC
monochromatic
#792245 #A93060 #CC4A7E #D97AA0 #E7A9C2

Accessibility & contrast

On white

4.33
#CC4A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC4A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A7E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A7E#FFFFFF#000000##000000
##CC4A7E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7F
Deuteranopia (green-blind)
#85827B
Tritanopia (blue-blind)
#DC3D5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4a7e;
/* rgb */ color: rgb(204, 74, 126);
/* oklch */ color: oklch(60.0% 0.171 358.9);
Tailwind
colors: {
  custom: {
    50: '#e084a3',
    500: '#cc4a7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a7e;
$custom-light: #e084a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a7e",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 336,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.17103,
    "h": 358.9
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

primary
#CC4A7E
secondary
#9DD4BE
accent
#DFA348
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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