#CC3A7D#CC3A7D

#CC3A7D is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.191 H 356.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC3A7D
RGBrgb(204, 58, 125)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 72%, 80%)
CMYKcmyk(0%, 71.6%, 38.7%, 20%)
CIE-LABlab(48.70, 62.02, -4.30)
CIE-LCHlch(48.70, 62.17, 356.03°)
OKLaboklab(58.28% 0.1903 -0.0105)
OKLCHoklch(58.28% 0.191 356.8)
XYZxyz(30.1186, 17.3478, 21.1605)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7D #3ACC89
analogous
#CC3AC6 #CC3A7D #CC403A
triadic
#CC3A7D #7DCC3A #3A7DCC
tetradic
#CC3A7D #C6CC3A #3ACC89 #403ACC
square
#CC3A7D #C6CC3A #3ACC89 #403ACC
split-complementary
#CC3A7D #3ACC40 #3AC6CC
monochromatic
#6F1D42 #A02960 #CC3A7D #D96B9D #E59BBD

Accessibility & contrast

On white

4.70
#CC3A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC3A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A7D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A7D#FFFFFF#000000##FFFFFF
##CC3A7D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627F
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#DC2957
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3a7d;
/* rgb */ color: rgb(204, 58, 125);
/* oklch */ color: oklch(58.3% 0.191 356.8);
Tailwind
colors: {
  custom: {
    50: '#e17ca2',
    500: '#cc3a7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7d;
$custom-light: #e17ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7d",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 332.466,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.19055,
    "h": 356.8
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#CC3A7D
secondary
#91D1B4
accent
#E29A46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC3A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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