#CC3A6D#CC3A6D

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

Color values

HEX#CC3A6D
RGBrgb(204, 58, 109)
HSLhsl(339, 59%, 51%)
HSVhsv(339, 72%, 80%)
CMYKcmyk(0%, 71.6%, 46.6%, 20%)
CIE-LABlab(48.22, 60.47, 4.74)
CIE-LCHlch(48.22, 60.65, 4.49°)
OKLaboklab(57.77% 0.185 0.0128)
OKLCHoklch(57.77% 0.185 4)
XYZxyz(29.1776, 16.9714, 16.2044)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A6D #3ACC99
analogous
#CC3AB6 #CC3A6D #CC503A
triadic
#CC3A6D #6DCC3A #3A6DCC
tetradic
#CC3A6D #B6CC3A #3ACC99 #503ACC
square
#CC3A6D #B6CC3A #3ACC99 #503ACC
split-complementary
#CC3A6D #3ACC50 #3AB6CC
monochromatic
#6F1D39 #A02953 #CC3A6D #D96B91 #E59BB5

Accessibility & contrast

On white

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

On black

4.39
#CC3A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3A6D#FFFFFF#000000##FFFFFF
##CC3A6D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B606E
Deuteranopia (green-blind)
#827D6A
Tritanopia (blue-blind)
#DE204F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3a6d;
/* rgb */ color: rgb(204, 58, 109);
/* oklch */ color: oklch(57.8% 0.185 4.0);
Tailwind
colors: {
  custom: {
    50: '#e17b96',
    500: '#cc3a6d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a6d;
$custom-light: #e17b96;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a6d",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 109
  },
  "hsl": {
    "h": 339.041,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.18539,
    "h": 4
  },
  "luminance": 0.16968
}

Semantic roles & 50–950 ramp

primary
#CC3A6D
secondary
#91D1BB
accent
#E2AB46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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