#CC3998#CC3998

#CC3998 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.205 H 345.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC3998
RGBrgb(204, 57, 152)
HSLhsl(321, 59%, 51%)
HSVhsv(321, 72%, 80%)
CMYKcmyk(0%, 72.1%, 25.5%, 20%)
CIE-LABlab(49.54, 65.47, -19.27)
CIE-LCHlch(49.54, 68.25, 343.60°)
OKLaboklab(59.21% 0.1983 -0.0512)
OKLCHoklch(59.21% 0.205 345.5)
XYZxyz(32.0338, 18.0340, 31.4936)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3998 #39CC6D
analogous
#B639CC #CC3998 #CC394E
triadic
#CC3998 #98CC39 #3998CC
tetradic
#CC3998 #CCB639 #39CC6D #394ECC
square
#CC3998 #CCB639 #39CC6D #394ECC
split-complementary
#CC3998 #4ECC39 #39CCB6
monochromatic
#6E1C51 #9F2975 #CC3998 #D96AB1 #E59ACB

Accessibility & contrast

On white

4.56
#CC3998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC3998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3998
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3998#FFFFFF#000000##000000
##CC39981.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#777F95
Tritanopia (blue-blind)
#DA3664
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3998;
/* rgb */ color: rgb(204, 57, 152);
/* oklch */ color: oklch(59.2% 0.205 345.5);
Tailwind
colors: {
  custom: {
    50: '#e07cb6',
    500: '#cc3998',
    950: '#000000',
  },
}
SCSS
$custom: #cc3998;
$custom-light: #e07cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3998",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 321.224,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.2048,
    "h": 345.5
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#CC3998
secondary
#90D1A7
accent
#E27D46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3998

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

Preview Lab → · Contrast checker → · Palette generator →

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