#CC4B9F#CC4B9F

#CC4B9F is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.186 H 344.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC4B9F
RGBrgb(204, 75, 159)
HSLhsl(321, 56%, 55%)
HSVhsv(321, 63%, 80%)
CMYKcmyk(0%, 63.2%, 22.1%, 20%)
CIE-LABlab(52.26, 59.59, -19.25)
CIE-LCHlch(52.26, 62.62, 342.09°)
OKLaboklab(61.29% 0.1789 -0.0513)
OKLCHoklch(61.29% 0.186 344)
XYZxyz(33.6770, 20.3759, 34.9535)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B9F #4BCC78
analogous
#B84BCC #CC4B9F #CC4B5F
triadic
#CC4B9F #9FCC4B #4B9FCC
tetradic
#CC4B9F #CCB84B #4BCC78 #4B5FCC
square
#CC4B9F #CCB84B #4BCC78 #4B5FCC
split-complementary
#CC4B9F #5FCC4B #4BCCB8
monochromatic
#7A235C #AA307F #CC4B9F #DA7BB8 #E7AAD2

Accessibility & contrast

On white

4.14
#CC4B9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC4B9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4B9F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4B9F#FFFFFF#000000##000000
##CC4B9F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#576FA2
Deuteranopia (green-blind)
#7D859C
Tritanopia (blue-blind)
#D94A6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4b9f;
/* rgb */ color: rgb(204, 75, 159);
/* oklch */ color: oklch(61.3% 0.186 344.0);
Tailwind
colors: {
  custom: {
    50: '#df85bb',
    500: '#cc4b9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b9f;
$custom-light: #df85bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b9f",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 159
  },
  "hsl": {
    "h": 320.93,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.18612,
    "h": 344
  },
  "luminance": 0.20373
}

Semantic roles & 50–950 ramp

primary
#CC4B9F
secondary
#9ED5B1
accent
#DF7D49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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