#CC3A98#CC3A98

#CC3A98 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.204 H 345.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC3A98
RGBrgb(204, 58, 152)
HSLhsl(321, 59%, 51%)
HSVhsv(321, 72%, 80%)
CMYKcmyk(0%, 71.6%, 25.5%, 20%)
CIE-LABlab(49.66, 65.13, -19.09)
CIE-LCHlch(49.66, 67.87, 343.67°)
OKLaboklab(59.3% 0.1973 -0.0507)
OKLCHoklch(59.3% 0.204 345.6)
XYZxyz(32.0837, 18.1339, 31.5102)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A98 #3ACC6E
analogous
#B73ACC #CC3A98 #CC3A4F
triadic
#CC3A98 #98CC3A #3A98CC
tetradic
#CC3A98 #CCB73A #3ACC6E #3A4FCC
square
#CC3A98 #CCB73A #3ACC6E #3A4FCC
split-complementary
#CC3A98 #4FCC3A #3ACCB7
monochromatic
#6F1D52 #A02975 #CC3A98 #D96BB1 #E59BCB

Accessibility & contrast

On white

4.54
#CC3A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC3A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3A98
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A98#FFFFFF#000000##000000
##CC3A981.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C669B
Deuteranopia (green-blind)
#787F95
Tritanopia (blue-blind)
#DA3764
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3a98;
/* rgb */ color: rgb(204, 58, 152);
/* oklch */ color: oklch(59.3% 0.204 345.6);
Tailwind
colors: {
  custom: {
    50: '#e07db6',
    500: '#cc3a98',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a98;
$custom-light: #e07db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a98",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 321.37,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.20365,
    "h": 345.6
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#CC3A98
secondary
#91D1A8
accent
#E27D46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3A98

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

Preview Lab → · Contrast checker → · Palette generator →

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