#CC3A7B#CC3A7B

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

Color values

HEX#CC3A7B
RGBrgb(204, 58, 123)
HSLhsl(333, 59%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 71.6%, 39.7%, 20%)
CIE-LABlab(48.63, 61.81, -3.18)
CIE-LCHlch(48.63, 61.90, 357.05°)
OKLaboklab(58.21% 0.1896 -0.0076)
OKLCHoklch(58.21% 0.19 357.7)
XYZxyz(29.9921, 17.2972, 20.4944)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A7B #3ACC8B
analogous
#CC3AC4 #CC3A7B #CC423A
triadic
#CC3A7B #7BCC3A #3A7BCC
tetradic
#CC3A7B #C4CC3A #3ACC8B #423ACC
square
#CC3A7B #C4CC3A #3ACC8B #423ACC
split-complementary
#CC3A7B #3ACC42 #3AC4CC
monochromatic
#6F1D41 #A0295E #CC3A7B #D96B9C #E59BBC

Accessibility & contrast

On white

4.71
#CC3A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3A7B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A7B#FFFFFF#000000##FFFFFF
##CC3A7B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627D
Deuteranopia (green-blind)
#7F7E78
Tritanopia (blue-blind)
#DD2856
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a7b;
/* rgb */ color: rgb(204, 58, 123);
/* oklch */ color: oklch(58.2% 0.190 357.7);
Tailwind
colors: {
  custom: {
    50: '#e17ca1',
    500: '#cc3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a7b;
$custom-light: #e17ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a7b",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 333.288,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.18978,
    "h": 357.7
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#CC3A7B
secondary
#91D1B4
accent
#E29C46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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