#CC4BA5#CC4BA5

#CC4BA5 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.190 H 341.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC4BA5
RGBrgb(204, 75, 165)
HSLhsl(318, 56%, 55%)
HSVhsv(318, 63%, 80%)
CMYKcmyk(0%, 63.2%, 19.1%, 20%)
CIE-LABlab(52.50, 60.42, -22.42)
CIE-LCHlch(52.50, 64.45, 339.64°)
OKLaboklab(61.54% 0.1802 -0.0601)
OKLCHoklch(61.54% 0.19 341.6)
XYZxyz(34.2103, 20.5893, 37.7624)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BA5 #4BCC72
analogous
#B34BCC #CC4BA5 #CC4B64
triadic
#CC4BA5 #A5CC4B #4BA5CC
tetradic
#CC4BA5 #CCB34B #4BCC72 #4B64CC
square
#CC4BA5 #CCB34B #4BCC72 #4B64CC
split-complementary
#CC4BA5 #64CC4B #4BCCB3
monochromatic
#7A2360 #AA3085 #CC4BA5 #DA7BBD #E7AAD5

Accessibility & contrast

On white

4.10
#CC4BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CC4BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BA5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BA5#FFFFFF#000000##000000
##CC4BA51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#D84D71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4ba5;
/* rgb */ color: rgb(204, 75, 165);
/* oklch */ color: oklch(61.5% 0.190 341.6);
Tailwind
colors: {
  custom: {
    50: '#df85c0',
    500: '#cc4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ba5;
$custom-light: #df85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ba5",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 318.14,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.18996,
    "h": 341.6
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#CC4BA5
secondary
#9ED5AF
accent
#DF7649
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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