#CC3A7F#CC3A7F

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

Color values

HEX#CC3A7F
RGBrgb(204, 58, 127)
HSLhsl(332, 59%, 51%)
HSVhsv(332, 72%, 80%)
CMYKcmyk(0%, 71.6%, 37.7%, 20%)
CIE-LABlab(48.76, 62.23, -5.42)
CIE-LCHlch(48.76, 62.47, 355.02°)
OKLaboklab(58.34% 0.1909 -0.0135)
OKLCHoklch(58.34% 0.191 356)
XYZxyz(30.2476, 17.3995, 21.8401)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7F #3ACC87
analogous
#CC3AC8 #CC3A7F #CC3E3A
triadic
#CC3A7F #7FCC3A #3A7FCC
tetradic
#CC3A7F #C8CC3A #3ACC87 #3E3ACC
square
#CC3A7F #C8CC3A #3ACC87 #3E3ACC
split-complementary
#CC3A7F #3ACC3E #3AC8CC
monochromatic
#6F1D44 #A02961 #CC3A7F #D96B9F #E59BBE

Accessibility & contrast

On white

4.69
#CC3A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CC3A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A7F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A7F#FFFFFF#000000##FFFFFF
##CC3A7F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566381
Deuteranopia (green-blind)
#7E7E7C
Tritanopia (blue-blind)
#DC2A58
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3a7f;
/* rgb */ color: rgb(204, 58, 127);
/* oklch */ color: oklch(58.3% 0.191 356.0);
Tailwind
colors: {
  custom: {
    50: '#e07ca4',
    500: '#cc3a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7f;
$custom-light: #e07ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7f",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 331.644,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.19134,
    "h": 356
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#CC3A7F
secondary
#91D1B3
accent
#E29846
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC3A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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