#CC4173#CC4173

#CC4173 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.179 H 2.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4173
RGBrgb(204, 65, 115)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 68.1%, 43.6%, 20%)
CIE-LABlab(49.33, 58.44, 2.68)
CIE-LCHlch(49.33, 58.50, 2.63°)
OKLaboklab(58.64% 0.1788 0.0076)
OKLCHoklch(58.64% 0.179 2.4)
XYZxyz(29.8889, 17.8595, 18.0896)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4173 #41CC9A
analogous
#CC41B9 #CC4173 #CC5441
triadic
#CC4173 #73CC41 #4173CC
tetradic
#CC4173 #B9CC41 #41CC9A #5441CC
square
#CC4173 #B9CC41 #41CC9A #5441CC
split-complementary
#CC4173 #41CC54 #41B9CC
monochromatic
#741F3D #A42C57 #CC4173 #D97197 #E6A1BA

Accessibility & contrast

On white

4.59
#CC4173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC4173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4173
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4173#FFFFFF#000000##FFFFFF
##CC41731.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6474
Deuteranopia (green-blind)
#837F70
Tritanopia (blue-blind)
#DD2E55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4173;
/* rgb */ color: rgb(204, 65, 115);
/* oklch */ color: oklch(58.6% 0.179 2.4);
Tailwind
colors: {
  custom: {
    50: '#e17f9b',
    500: '#cc4173',
    950: '#000000',
  },
}
SCSS
$custom: #cc4173;
$custom-light: #e17f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4173",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 338.417,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.17894,
    "h": 2.4
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#CC4173
secondary
#96D3BD
accent
#E1AA47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4173

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

Preview Lab → · Contrast checker → · Palette generator →

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