#CC4171#CC4171

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

Color values

HEX#CC4171
RGBrgb(204, 65, 113)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68.1%, 44.6%, 20%)
CIE-LABlab(49.27, 58.24, 3.81)
CIE-LCHlch(49.27, 58.37, 3.75°)
OKLaboklab(58.58% 0.1781 0.0105)
OKLCHoklch(58.58% 0.178 3.4)
XYZxyz(29.7750, 17.8140, 17.4901)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4171 #41CC9C
analogous
#CC41B6 #CC4171 #CC5741
triadic
#CC4171 #71CC41 #4171CC
tetradic
#CC4171 #B6CC41 #41CC9C #5741CC
square
#CC4171 #B6CC41 #41CC9C #5741CC
split-complementary
#CC4171 #41CC57 #41B6CC
monochromatic
#741F3C #A42C55 #CC4171 #D97195 #E6A1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4171#FFFFFF#000000##FFFFFF
##CC41711.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4171;
/* rgb */ color: rgb(204, 65, 113);
/* oklch */ color: oklch(58.6% 0.178 3.4);
Tailwind
colors: {
  custom: {
    50: '#e17f99',
    500: '#cc4171',
    950: '#000000',
  },
}
SCSS
$custom: #cc4171;
$custom-light: #e17f99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4171",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 339.281,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.17839,
    "h": 3.4
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4171

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

Preview Lab → · Contrast checker → · Palette generator →

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