#CC3870#CC3870

#CC3870 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.188 H 2.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC3870
RGBrgb(204, 56, 112)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 72.5%, 45.1%, 20%)
CIE-LABlab(48.06, 61.44, 2.67)
CIE-LCHlch(48.06, 61.49, 2.49°)
OKLaboklab(57.68% 0.1882 0.0076)
OKLCHoklch(57.68% 0.188 2.3)
XYZxyz(29.2429, 16.8394, 17.0365)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3870 #38CC94
analogous
#CC38BA #CC3870 #CC4A38
triadic
#CC3870 #70CC38 #3870CC
tetradic
#CC3870 #BACC38 #38CC94 #4A38CC
square
#CC3870 #BACC38 #38CC94 #4A38CC
split-complementary
#CC3870 #38CC4A #38BACC
monochromatic
#6E1C3B #9E2955 #CC3870 #D86993 #E599B6

Accessibility & contrast

On white

4.81
#CC3870 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CC3870 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3870
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3870#FFFFFF#000000##FFFFFF
##CC38701.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596071
Deuteranopia (green-blind)
#817D6D
Tritanopia (blue-blind)
#DD1F50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3870;
/* rgb */ color: rgb(204, 56, 112);
/* oklch */ color: oklch(57.7% 0.188 2.3);
Tailwind
colors: {
  custom: {
    50: '#e17b98',
    500: '#cc3870',
    950: '#000000',
  },
}
SCSS
$custom: #cc3870;
$custom-light: #e17b98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3870",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 112
  },
  "hsl": {
    "h": 337.297,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57678,
    "c": 0.18838,
    "h": 2.3
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#CC3870
secondary
#8FD1B8
accent
#E2A745
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3870

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

Preview Lab → · Contrast checker → · Palette generator →

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