#CC3F98#CC3F98

#CC3F98 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.198 H 345.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC3F98
RGBrgb(204, 63, 152)
HSLhsl(322, 58%, 52%)
HSVhsv(322, 69%, 80%)
CMYKcmyk(0%, 69.1%, 25.5%, 20%)
CIE-LABlab(50.29, 63.36, -18.12)
CIE-LCHlch(50.29, 65.90, 344.04°)
OKLaboklab(59.76% 0.1918 -0.048)
OKLCHoklch(59.76% 0.198 345.9)
XYZxyz(32.3482, 18.6628, 31.5984)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F98 #3FCC73
analogous
#BA3FCC #CC3F98 #CC3F51
triadic
#CC3F98 #98CC3F #3F98CC
tetradic
#CC3F98 #CCBA3F #3FCC73 #3F51CC
square
#CC3F98 #CCBA3F #3FCC73 #3F51CC
split-complementary
#CC3F98 #51CC3F #3FCCBA
monochromatic
#721E53 #A32B77 #CC3F98 #D96FB2 #E6A0CC

Accessibility & contrast

On white

4.44
#CC3F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC3F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F98
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F98#FFFFFF#000000##000000
##CC3F981.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#7A8095
Tritanopia (blue-blind)
#DA3C66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc3f98;
/* rgb */ color: rgb(204, 63, 152);
/* oklch */ color: oklch(59.8% 0.198 345.9);
Tailwind
colors: {
  custom: {
    50: '#e07fb6',
    500: '#cc3f98',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f98;
$custom-light: #e07fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f98",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 322.128,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.1977,
    "h": 345.9
  },
  "luminance": 0.18659
}

Semantic roles & 50–950 ramp

primary
#CC3F98
secondary
#95D2AB
accent
#E18047
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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