#CC4B8F#CC4B8F

#CC4B8F is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.177 H 351.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC4B8F
RGBrgb(204, 75, 143)
HSLhsl(328, 56%, 55%)
HSVhsv(328, 63%, 80%)
CMYKcmyk(0%, 63.2%, 29.9%, 20%)
CIE-LABlab(51.67, 57.50, -10.67)
CIE-LCHlch(51.67, 58.48, 349.49°)
OKLaboklab(60.67% 0.1749 -0.0277)
OKLCHoklch(60.67% 0.177 351)
XYZxyz(32.3774, 19.8561, 28.1088)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B8F #4BCC88
analogous
#C84BCC #CC4B8F #CC4B4F
triadic
#CC4B8F #8FCC4B #4B8FCC
tetradic
#CC4B8F #CCC84B #4BCC88 #4B4FCC
square
#CC4B8F #CCC84B #4BCC88 #4B4FCC
split-complementary
#CC4B8F #4FCC4B #4BCCC8
monochromatic
#7A2351 #AA3070 #CC4B8F #DA7BAD #E7AACA

Accessibility & contrast

On white

4.22
#CC4B8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC4B8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4B8F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4B8F#FFFFFF#000000##000000
##CC4B8F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6D91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#DA4567
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4b8f;
/* rgb */ color: rgb(204, 75, 143);
/* oklch */ color: oklch(60.7% 0.177 351.0);
Tailwind
colors: {
  custom: {
    50: '#df85af',
    500: '#cc4b8f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b8f;
$custom-light: #df85af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b8f",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 143
  },
  "hsl": {
    "h": 328.372,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.17706,
    "h": 351
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#CC4B8F
secondary
#9ED5B8
accent
#DF9049
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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