#CC4A8B#CC4A8B

#CC4A8B is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.176 H 352.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC4A8B
RGBrgb(204, 74, 139)
HSLhsl(330, 56%, 55%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 63.7%, 31.9%, 20%)
CIE-LABlab(51.38, 57.43, -8.72)
CIE-LCHlch(51.38, 58.09, 351.37°)
OKLaboklab(60.41% 0.1751 -0.0224)
OKLCHoklch(60.41% 0.176 352.7)
XYZxyz(32.0124, 19.6024, 26.5189)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A8B #4ACC8B
analogous
#CC4ACC #CC4A8B #CC4A4A
triadic
#CC4A8B #8BCC4A #4A8BCC
tetradic
#CC4A8B #CCCC4A #4ACC8B #4A4ACC
square
#CC4A8B #CCCC4A #4ACC8B #4A4ACC
split-complementary
#CC4A8B #4ACC4A #4ACCCC
monochromatic
#79224E #A9306C #CC4A8B #D97AAA #E7A9C8

Accessibility & contrast

On white

4.27
#CC4A8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC4A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A8B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A8B#FFFFFF#000000##000000
##CC4A8B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#828388
Tritanopia (blue-blind)
#DB4264
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4a8b;
/* rgb */ color: rgb(204, 74, 139);
/* oklch */ color: oklch(60.4% 0.176 352.7);
Tailwind
colors: {
  custom: {
    50: '#e084ac',
    500: '#cc4a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a8b;
$custom-light: #e084ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a8b",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 330,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.17648,
    "h": 352.7
  },
  "luminance": 0.19599
}

Semantic roles & 50–950 ramp

primary
#CC4A8B
secondary
#9DD4B9
accent
#DF9448
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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