#CC4B7D#CC4B7D

#CC4B7D is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.169 H 359.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC4B7D
RGBrgb(204, 75, 125)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 63.2%, 38.7%, 20%)
CIE-LABlab(51.10, 55.41, -0.77)
CIE-LCHlch(51.10, 55.41, 359.21°)
OKLaboklab(60.05% 0.1693 -0.0013)
OKLCHoklch(60.05% 0.169 359.6)
XYZxyz(31.1215, 19.3537, 21.4948)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B7D #4BCC9A
analogous
#CC4BBE #CC4B7D #CC5A4B
triadic
#CC4B7D #7DCC4B #4B7DCC
tetradic
#CC4B7D #BECC4B #4BCC9A #5A4BCC
square
#CC4B7D #BECC4B #4BCC9A #5A4BCC
split-complementary
#CC4B7D #4BCC5A #4BBECC
monochromatic
#7A2344 #AA305F #CC4B7D #DA7B9F #E7AAC2

Accessibility & contrast

On white

4.31
#CC4B7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC4B7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4B7D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4B7D#FFFFFF#000000##000000
##CC4B7D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7E
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#DC3E5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4b7d;
/* rgb */ color: rgb(204, 75, 125);
/* oklch */ color: oklch(60.1% 0.169 359.6);
Tailwind
colors: {
  custom: {
    50: '#e084a2',
    500: '#cc4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b7d;
$custom-light: #e084a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b7d",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 336.744,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.16935,
    "h": 359.6
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#CC4B7D
secondary
#9ED5C0
accent
#DFA549
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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