#CC4B9E#CC4B9E

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

Color values

HEX#CC4B9E
RGBrgb(204, 75, 158)
HSLhsl(321, 56%, 55%)
HSVhsv(321, 63%, 80%)
CMYKcmyk(0%, 63.2%, 22.5%, 20%)
CIE-LABlab(52.22, 59.45, -18.72)
CIE-LCHlch(52.22, 62.33, 342.52°)
OKLaboklab(61.25% 0.1787 -0.0498)
OKLCHoklch(61.25% 0.186 344.4)
XYZxyz(33.5906, 20.3414, 34.4983)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B9E #4BCC79
analogous
#B94BCC #CC4B9E #CC4B5E
triadic
#CC4B9E #9ECC4B #4B9ECC
tetradic
#CC4B9E #CCB94B #4BCC79 #4B5ECC
square
#CC4B9E #CCB94B #4BCC79 #4B5ECC
split-complementary
#CC4B9E #5ECC4B #4BCCB9
monochromatic
#7A235B #AA307E #CC4B9E #DA7BB8 #E7AAD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4B9E#FFFFFF#000000##000000
##CC4B9E1.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)
#576FA1
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#D94A6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4b9e;
/* rgb */ color: rgb(204, 75, 158);
/* oklch */ color: oklch(61.2% 0.186 344.4);
Tailwind
colors: {
  custom: {
    50: '#df85ba',
    500: '#cc4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b9e;
$custom-light: #df85ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b9e",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 321.395,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.18551,
    "h": 344.4
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#CC4B9E
secondary
#9ED5B2
accent
#DF7E49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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