#CC4E8B#CC4E8B

#CC4E8B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.171 H 353.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC4E8B
RGBrgb(204, 78, 139)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 61.8%, 31.9%, 20%)
CIE-LABlab(52.01, 55.73, -7.78)
CIE-LCHlch(52.01, 56.27, 352.05°)
OKLaboklab(60.87% 0.1698 -0.0199)
OKLCHoklch(60.87% 0.171 353.3)
XYZxyz(32.2880, 20.1536, 26.6107)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4E8B #4ECC8F
analogous
#CC4ECA #CC4E8B #CC504E
triadic
#CC4E8B #8BCC4E #4E8BCC
tetradic
#CC4E8B #CACC4E #4ECC8F #504ECC
square
#CC4E8B #CACC4E #4ECC8F #504ECC
split-complementary
#CC4E8B #4ECC50 #4ECACC
monochromatic
#7C244E #AB316C #CC4E8B #DA7EAA #E7ADC9

Accessibility & contrast

On white

4.17
#CC4E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC4E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4E8B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4E8B#FFFFFF#000000##000000
##CC4E8B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#838488
Tritanopia (blue-blind)
#DB4666
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4e8b;
/* rgb */ color: rgb(204, 78, 139);
/* oklch */ color: oklch(60.9% 0.171 353.3);
Tailwind
colors: {
  custom: {
    50: '#df86ac',
    500: '#cc4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cc4e8b;
$custom-light: #df86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4e8b",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 330.952,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.17091,
    "h": 353.3
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#CC4E8B
secondary
#A1D5BC
accent
#DF9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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