#CC4BA8#CC4BA8

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

Color values

HEX#CC4BA8
RGBrgb(204, 75, 168)
HSLhsl(317, 56%, 55%)
HSVhsv(317, 63%, 80%)
CMYKcmyk(0%, 63.2%, 17.6%, 20%)
CIE-LABlab(52.62, 60.85, -23.99)
CIE-LCHlch(52.62, 65.41, 338.48°)
OKLaboklab(61.67% 0.1808 -0.0645)
OKLCHoklch(61.67% 0.192 340.4)
XYZxyz(34.4866, 20.6998, 39.2174)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BA8 #4BCC6F
analogous
#AF4BCC #CC4BA8 #CC4B68
triadic
#CC4BA8 #A8CC4B #4BA8CC
tetradic
#CC4BA8 #CCAF4B #4BCC6F #4B68CC
square
#CC4BA8 #CCAF4B #4BCC6F #4B68CC
split-complementary
#CC4BA8 #68CC4B #4BCCAF
monochromatic
#7A2362 #AA3088 #CC4BA8 #DA7BBF #E7AAD6

Accessibility & contrast

On white

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

On black

5.14
#CC4BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BA8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BA8#FFFFFF#000000##000000
##CC4BA81.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370AB
Deuteranopia (green-blind)
#7A85A5
Tritanopia (blue-blind)
#D74E73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4ba8;
/* rgb */ color: rgb(204, 75, 168);
/* oklch */ color: oklch(61.7% 0.192 340.4);
Tailwind
colors: {
  custom: {
    50: '#df85c2',
    500: '#cc4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ba8;
$custom-light: #df85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ba8",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 316.744,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.19195,
    "h": 340.4
  },
  "luminance": 0.20697
}

Semantic roles & 50–950 ramp

primary
#CC4BA8
secondary
#9ED5AD
accent
#DF7349
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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