#CC4174#CC4174

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

Color values

HEX#CC4174
RGBrgb(204, 65, 116)
HSLhsl(338, 58%, 53%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 68.1%, 43.1%, 20%)
CIE-LABlab(49.35, 58.53, 2.12)
CIE-LCHlch(49.35, 58.57, 2.07°)
OKLaboklab(58.67% 0.1791 0.0061)
OKLCHoklch(58.67% 0.179 2)
XYZxyz(29.9467, 17.8826, 18.3943)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4174 #41CC99
analogous
#CC41B9 #CC4174 #CC5441
triadic
#CC4174 #74CC41 #4174CC
tetradic
#CC4174 #B9CC41 #41CC99 #5441CC
square
#CC4174 #B9CC41 #41CC99 #5441CC
split-complementary
#CC4174 #41CC54 #41B9CC
monochromatic
#741F3E #A42C58 #CC4174 #D97197 #E6A1BB

Accessibility & contrast

On white

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

On black

4.58
#CC4174 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC4174#FFFFFF#000000##FFFFFF
##CC41741.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#837F71
Tritanopia (blue-blind)
#DD2E56
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4174;
/* rgb */ color: rgb(204, 65, 116);
/* oklch */ color: oklch(58.7% 0.179 2.0);
Tailwind
colors: {
  custom: {
    50: '#e17f9b',
    500: '#cc4174',
    950: '#000000',
  },
}
SCSS
$custom: #cc4174;
$custom-light: #e17f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4174",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 337.986,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58672,
    "c": 0.17924,
    "h": 2
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#CC4174
secondary
#96D3BC
accent
#E1A847
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4174

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

Preview Lab → · Contrast checker → · Palette generator →

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