#CC4170#CC4170

#CC4170 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.178 H 3.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC4170
RGBrgb(204, 65, 112)
HSLhsl(340, 58%, 53%)
HSVhsv(340, 68%, 80%)
CMYKcmyk(0%, 68.1%, 45.1%, 20%)
CIE-LABlab(49.24, 58.15, 4.38)
CIE-LCHlch(49.24, 58.31, 4.31°)
OKLaboklab(58.55% 0.1777 0.0119)
OKLCHoklch(58.55% 0.178 3.8)
XYZxyz(29.7190, 17.7916, 17.1952)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4170 #41CC9D
analogous
#CC41B6 #CC4170 #CC5741
triadic
#CC4170 #70CC41 #4170CC
tetradic
#CC4170 #B6CC41 #41CC9D #5741CC
square
#CC4170 #B6CC41 #41CC9D #5741CC
split-complementary
#CC4170 #41CC57 #41B6CC
monochromatic
#741F3C #A42C54 #CC4170 #D97194 #E6A1B9

Accessibility & contrast

On white

4.61
#CC4170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC4170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4170
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4170#FFFFFF#000000##FFFFFF
##CC41701.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6471
Deuteranopia (green-blind)
#847F6D
Tritanopia (blue-blind)
#DD2D54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4170;
/* rgb */ color: rgb(204, 65, 112);
/* oklch */ color: oklch(58.6% 0.178 3.8);
Tailwind
colors: {
  custom: {
    50: '#e17f98',
    500: '#cc4170',
    950: '#000000',
  },
}
SCSS
$custom: #cc4170;
$custom-light: #e17f98;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4170",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 339.712,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.17813,
    "h": 3.8
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#CC4170
secondary
#96D3BE
accent
#E1AD47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC4170

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

Preview Lab → · Contrast checker → · Palette generator →

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