#CC3A6E#CC3A6E

#CC3A6E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.8% C 0.186 H 3.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC3A6E
RGBrgb(204, 58, 110)
HSLhsl(339, 59%, 51%)
HSVhsv(339, 72%, 80%)
CMYKcmyk(0%, 71.6%, 46.1%, 20%)
CIE-LABlab(48.25, 60.56, 4.17)
CIE-LCHlch(48.25, 60.70, 3.94°)
OKLaboklab(57.8% 0.1853 0.0114)
OKLCHoklch(57.8% 0.186 3.5)
XYZxyz(29.2317, 16.9931, 16.4895)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A6E #3ACC98
analogous
#CC3AB7 #CC3A6E #CC4F3A
triadic
#CC3A6E #6ECC3A #3A6ECC
tetradic
#CC3A6E #B7CC3A #3ACC98 #4F3ACC
square
#CC3A6E #B7CC3A #3ACC98 #4F3ACC
split-complementary
#CC3A6E #3ACC4F #3AB7CC
monochromatic
#6F1D3A #A02953 #CC3A6E #D96B92 #E59BB6

Accessibility & contrast

On white

4.78
#CC3A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CC3A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A6E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A6E#FFFFFF#000000##FFFFFF
##CC3A6E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606F
Deuteranopia (green-blind)
#827D6B
Tritanopia (blue-blind)
#DE2150
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a6e;
/* rgb */ color: rgb(204, 58, 110);
/* oklch */ color: oklch(57.8% 0.186 3.5);
Tailwind
colors: {
  custom: {
    50: '#e17b97',
    500: '#cc3a6e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a6e;
$custom-light: #e17b97;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a6e",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 110
  },
  "hsl": {
    "h": 338.63,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.18565,
    "h": 3.5
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#CC3A6E
secondary
#91D1BA
accent
#E2AA46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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