#CC4BAF#CC4BAF

#CC4BAF is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.197 H 337.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC4BAF
RGBrgb(204, 75, 175)
HSLhsl(313, 56%, 55%)
HSVhsv(313, 63%, 80%)
CMYKcmyk(0%, 63.2%, 14.2%, 20%)
CIE-LABlab(52.91, 61.87, -27.63)
CIE-LCHlch(52.91, 67.76, 335.94°)
OKLaboklab(61.98% 0.182 -0.0748)
OKLCHoklch(61.98% 0.197 337.7)
XYZxyz(35.1563, 20.9677, 42.7447)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4BAF #4BCC68
analogous
#A84BCC #CC4BAF #CC4B6F
triadic
#CC4BAF #AFCC4B #4BAFCC
tetradic
#CC4BAF #CCA84B #4BCC68 #4B6FCC
square
#CC4BAF #CCA84B #4BCC68 #4B6FCC
split-complementary
#CC4BAF #6FCC4B #4BCCA8
monochromatic
#7A2366 #AA308E #CC4BAF #DA7BC4 #E7AAD9

Accessibility & contrast

On white

4.04
#CC4BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CC4BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4BAF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4BAF#FFFFFF#000000##000000
##CC4BAF1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#D75176
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4baf;
/* rgb */ color: rgb(204, 75, 175);
/* oklch */ color: oklch(62.0% 0.197 337.7);
Tailwind
colors: {
  custom: {
    50: '#df85c7',
    500: '#cc4baf',
    950: '#000000',
  },
}
SCSS
$custom: #cc4baf;
$custom-light: #df85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4baf",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 313.488,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.19679,
    "h": 337.7
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#CC4BAF
secondary
#9ED5AA
accent
#DF6A49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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