#CC4AAB#CC4AAB

#CC4AAB is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.195 H 339.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC4AAB
RGBrgb(204, 74, 171)
HSLhsl(315, 56%, 55%)
HSVhsv(315, 64%, 80%)
CMYKcmyk(0%, 63.7%, 16.2%, 20%)
CIE-LABlab(52.60, 61.69, -25.78)
CIE-LCHlch(52.60, 66.86, 337.32°)
OKLaboklab(61.7% 0.1826 -0.0696)
OKLCHoklch(61.7% 0.195 339.1)
XYZxyz(34.7020, 20.6783, 40.6838)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AAB #4ACC6B
analogous
#AC4ACC #CC4AAB #CC4A6A
triadic
#CC4AAB #ABCC4A #4AABCC
tetradic
#CC4AAB #CCAC4A #4ACC6B #4A6ACC
square
#CC4AAB #CCAC4A #4ACC6B #4A6ACC
split-complementary
#CC4AAB #6ACC4A #4ACCAC
monochromatic
#792263 #A9308A #CC4AAB #D97AC1 #E7A9D7

Accessibility & contrast

On white

4.09
#CC4AAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CC4AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AAB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AAB#FFFFFF#000000##000000
##CC4AAB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#D74E74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4aab;
/* rgb */ color: rgb(204, 74, 171);
/* oklch */ color: oklch(61.7% 0.195 339.1);
Tailwind
colors: {
  custom: {
    50: '#df85c4',
    500: '#cc4aab',
    950: '#000000',
  },
}
SCSS
$custom: #cc4aab;
$custom-light: #df85c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4aab",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 315.231,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.19536,
    "h": 339.1
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#CC4AAB
secondary
#9DD4AB
accent
#DF6F48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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