#CC3A7C#CC3A7C

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

Color values

HEX#CC3A7C
RGBrgb(204, 58, 124)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 71.6%, 39.2%, 20%)
CIE-LABlab(48.66, 61.92, -3.74)
CIE-LCHlch(48.66, 62.03, 356.54°)
OKLaboklab(58.24% 0.19 -0.0091)
OKLCHoklch(58.24% 0.19 357.3)
XYZxyz(30.0550, 17.3224, 20.8257)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7C #3ACC8A
analogous
#CC3AC5 #CC3A7C #CC413A
triadic
#CC3A7C #7CCC3A #3A7CCC
tetradic
#CC3A7C #C5CC3A #3ACC8A #413ACC
square
#CC3A7C #C5CC3A #3ACC8A #413ACC
split-complementary
#CC3A7C #3ACC41 #3AC5CC
monochromatic
#6F1D42 #A0295F #CC3A7C #D96B9C #E59BBD

Accessibility & contrast

On white

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

On black

4.46
#CC3A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3A7C#FFFFFF#000000##FFFFFF
##CC3A7C1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#7F7E79
Tritanopia (blue-blind)
#DC2956
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3a7c;
/* rgb */ color: rgb(204, 58, 124);
/* oklch */ color: oklch(58.2% 0.190 357.3);
Tailwind
colors: {
  custom: {
    50: '#e17ca1',
    500: '#cc3a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7c;
$custom-light: #e17ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7c",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 332.877,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.19017,
    "h": 357.3
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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