#CC3A70#CC3A70

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

Color values

HEX#CC3A70
RGBrgb(204, 58, 112)
HSLhsl(338, 59%, 51%)
HSVhsv(338, 72%, 80%)
CMYKcmyk(0%, 71.6%, 45.1%, 20%)
CIE-LABlab(48.31, 60.74, 3.03)
CIE-LCHlch(48.31, 60.82, 2.86°)
OKLaboklab(57.86% 0.186 0.0085)
OKLCHoklch(57.86% 0.186 2.6)
XYZxyz(29.3418, 17.0371, 17.0695)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A70 #3ACC96
analogous
#CC3AB9 #CC3A70 #CC4D3A
triadic
#CC3A70 #70CC3A #3A70CC
tetradic
#CC3A70 #B9CC3A #3ACC96 #4D3ACC
square
#CC3A70 #B9CC3A #3ACC96 #4D3ACC
split-complementary
#CC3A70 #3ACC4D #3AB9CC
monochromatic
#6F1D3B #A02955 #CC3A70 #D96B93 #E59BB7

Accessibility & contrast

On white

4.77
#CC3A70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CC3A70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A70
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A70#FFFFFF#000000##FFFFFF
##CC3A701.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6171
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#DD2251
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3a70;
/* rgb */ color: rgb(204, 58, 112);
/* oklch */ color: oklch(57.9% 0.186 2.6);
Tailwind
colors: {
  custom: {
    50: '#e17b98',
    500: '#cc3a70',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a70;
$custom-light: #e17b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a70",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 112
  },
  "hsl": {
    "h": 337.808,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.18619,
    "h": 2.6
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#CC3A70
secondary
#91D1B9
accent
#E2A846
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3A70

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

Preview Lab → · Contrast checker → · Palette generator →

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