#CC3A7A#CC3A7A

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

Color values

HEX#CC3A7A
RGBrgb(204, 58, 122)
HSLhsl(334, 59%, 51%)
HSVhsv(334, 72%, 80%)
CMYKcmyk(0%, 71.6%, 40.2%, 20%)
CIE-LABlab(48.60, 61.71, -2.62)
CIE-LCHlch(48.60, 61.77, 357.57°)
OKLaboklab(58.18% 0.1893 -0.0061)
OKLCHoklch(58.18% 0.189 358.2)
XYZxyz(29.9298, 17.2723, 20.1664)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7A #3ACC8C
analogous
#CC3AC3 #CC3A7A #CC433A
triadic
#CC3A7A #7ACC3A #3A7ACC
tetradic
#CC3A7A #C3CC3A #3ACC8C #433ACC
square
#CC3A7A #C3CC3A #3ACC8C #433ACC
split-complementary
#CC3A7A #3ACC43 #3AC3CC
monochromatic
#6F1D41 #A0295D #CC3A7A #D96B9B #E59BBC

Accessibility & contrast

On white

4.72
#CC3A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#CC3A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A7A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A7A#FFFFFF#000000##FFFFFF
##CC3A7A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58627C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#DD2855
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a7a;
/* rgb */ color: rgb(204, 58, 122);
/* oklch */ color: oklch(58.2% 0.189 358.2);
Tailwind
colors: {
  custom: {
    50: '#e17ca0',
    500: '#cc3a7a',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7a;
$custom-light: #e17ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7a",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 333.699,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.18942,
    "h": 358.2
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#CC3A7A
secondary
#91D1B5
accent
#E29E46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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