#CC4172#CC4172

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

Color values

HEX#CC4172
RGBrgb(204, 65, 114)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68.1%, 44.1%, 20%)
CIE-LABlab(49.30, 58.34, 3.25)
CIE-LCHlch(49.30, 58.43, 3.19°)
OKLaboklab(58.61% 0.1784 0.009)
OKLCHoklch(58.61% 0.179 2.9)
XYZxyz(29.8316, 17.8366, 17.7882)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4172 #41CC9B
analogous
#CC41B7 #CC4172 #CC5641
triadic
#CC4172 #72CC41 #4172CC
tetradic
#CC4172 #B7CC41 #41CC9B #5641CC
square
#CC4172 #B7CC41 #41CC9B #5641CC
split-complementary
#CC4172 #41CC56 #41B7CC
monochromatic
#741F3D #A42C56 #CC4172 #D97196 #E6A1BA

Accessibility & contrast

On white

4.60
#CC4172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC4172
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4172#FFFFFF#000000##FFFFFF
##CC41721.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#847F6F
Tritanopia (blue-blind)
#DD2D55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4172;
/* rgb */ color: rgb(204, 65, 114);
/* oklch */ color: oklch(58.6% 0.179 2.9);
Tailwind
colors: {
  custom: {
    50: '#e17f9a',
    500: '#cc4172',
    950: '#000000',
  },
}
SCSS
$custom: #cc4172;
$custom-light: #e17f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4172",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 338.849,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.17866,
    "h": 2.9
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4172

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

Preview Lab → · Contrast checker → · Palette generator →

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