#CC3AAF#CC3AAF

#CC3AAF is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.3% C 0.218 H 337.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC3AAF
RGBrgb(204, 58, 175)
HSLhsl(312, 59%, 51%)
HSVhsv(312, 72%, 80%)
CMYKcmyk(0%, 71.6%, 14.2%, 20%)
CIE-LABlab(50.64, 68.22, -31.16)
CIE-LCHlch(50.64, 75.00, 335.45°)
OKLaboklab(60.33% 0.201 -0.0847)
OKLCHoklch(60.33% 0.218 337.1)
XYZxyz(34.1534, 18.9618, 42.4104)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3AAF #3ACC57
analogous
#A03ACC #CC3AAF #CC3A66
triadic
#CC3AAF #AFCC3A #3AAFCC
tetradic
#CC3AAF #CCA03A #3ACC57 #3A66CC
square
#CC3AAF #CCA03A #3ACC57 #3A66CC
split-complementary
#CC3AAF #66CC3A #3ACCA0
monochromatic
#6F1D5F #A02988 #CC3AAF #D96BC3 #E59BD6

Accessibility & contrast

On white

4.38
#CC3AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC3AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3AAF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3AAF#FFFFFF#000000##000000
##CC3AAF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#6F81AC
Tritanopia (blue-blind)
#D74370
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc3aaf;
/* rgb */ color: rgb(204, 58, 175);
/* oklch */ color: oklch(60.3% 0.218 337.1);
Tailwind
colors: {
  custom: {
    50: '#df7dc7',
    500: '#cc3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3aaf;
$custom-light: #df7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3aaf",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 311.918,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.21807,
    "h": 337.1
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#CC3AAF
secondary
#91D19E
accent
#E26546
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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