#CC3A8E#CC3A8E

#CC3A8E is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.9% C 0.198 H 349.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC3A8E
RGBrgb(204, 58, 142)
HSLhsl(325, 59%, 51%)
HSVhsv(325, 72%, 80%)
CMYKcmyk(0%, 71.6%, 30.4%, 20%)
CIE-LABlab(49.28, 63.91, -13.69)
CIE-LCHlch(49.28, 65.36, 347.91°)
OKLaboklab(58.89% 0.195 -0.0358)
OKLCHoklch(58.89% 0.198 349.6)
XYZxyz(31.2990, 17.8200, 27.3773)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A8E #3ACC78
analogous
#C13ACC #CC3A8E #CC3A45
triadic
#CC3A8E #8ECC3A #3A8ECC
tetradic
#CC3A8E #CCC13A #3ACC78 #3A45CC
square
#CC3A8E #CCC13A #3ACC78 #3A45CC
split-complementary
#CC3A8E #45CC3A #3ACCC1
monochromatic
#6F1D4C #A0296D #CC3A8E #D96BAA #E59BC6

Accessibility & contrast

On white

4.60
#CC3A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC3A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A8E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A8E#FFFFFF#000000##FFFFFF
##CC3A8E1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506590
Deuteranopia (green-blind)
#7B7E8B
Tritanopia (blue-blind)
#DB325F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3a8e;
/* rgb */ color: rgb(204, 58, 142);
/* oklch */ color: oklch(58.9% 0.198 349.6);
Tailwind
colors: {
  custom: {
    50: '#e07caf',
    500: '#cc3a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a8e;
$custom-light: #e07caf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a8e",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 325.479,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58893,
    "c": 0.19823,
    "h": 349.6
  },
  "luminance": 0.17816
}

Semantic roles & 50–950 ramp

primary
#CC3A8E
secondary
#91D1AC
accent
#E28846
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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