#CC3E8A#CC3E8A

#CC3E8A is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.192 H 351.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3E8A
RGBrgb(204, 62, 138)
HSLhsl(328, 58%, 52%)
HSVhsv(328, 70%, 80%)
CMYKcmyk(0%, 69.6%, 32.4%, 20%)
CIE-LABlab(49.64, 62.02, -10.73)
CIE-LCHlch(49.64, 62.94, 350.18°)
OKLaboklab(59.11% 0.1895 -0.0277)
OKLCHoklch(59.11% 0.192 351.7)
XYZxyz(31.2136, 18.1211, 25.8938)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E8A #3ECC80
analogous
#C73ECC #CC3E8A #CC3E43
triadic
#CC3E8A #8ACC3E #3E8ACC
tetradic
#CC3E8A #CCC73E #3ECC80 #3E43CC
square
#CC3E8A #CCC73E #3ECC80 #3E43CC
split-complementary
#CC3E8A #43CC3E #3ECCC7
monochromatic
#721E4B #A22B6B #CC3E8A #D96EA7 #E69FC5

Accessibility & contrast

On white

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

On black

4.62
#CC3E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3E8A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E8A#FFFFFF#000000##000000
##CC3E8A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DB355F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3e8a;
/* rgb */ color: rgb(204, 62, 138);
/* oklch */ color: oklch(59.1% 0.192 351.7);
Tailwind
colors: {
  custom: {
    50: '#e07eac',
    500: '#cc3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e8a;
$custom-light: #e07eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e8a",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 327.887,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59114,
    "c": 0.19151,
    "h": 351.7
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#CC3E8A
secondary
#94D2B1
accent
#E18E46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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