#CC0174#CC0174

#CC0174 is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 55.1% C 0.225 H 356.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CC0174
RGBrgb(204, 1, 116)
HSLhsl(326, 99%, 40%)
HSVhsv(326, 100%, 80%)
CMYKcmyk(0%, 99.5%, 43.1%, 20%)
CIE-LABlab(44.41, 72.57, -5.14)
CIE-LCHlch(44.41, 72.75, 355.95°)
OKLaboklab(55.05% 0.2242 -0.0126)
OKLCHoklch(55.05% 0.225 356.8)
XYZxyz(28.0674, 14.1240, 17.7679)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC0174 #01CC59
analogous
#BE01CC #CC0174 #CC010E
triadic
#CC0174 #74CC01 #0174CC
tetradic
#CC0174 #CCBE01 #01CC59 #010ECC
square
#CC0174 #CCBE01 #01CC59 #010ECC
split-complementary
#CC0174 #0ECC01 #01CCBE
monochromatic
#52002F #8F0151 #CC0174 #FE0C95 #FE49B0

Accessibility & contrast

On white

5.49
#CC0174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#CC0174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC0174
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC0174#FFFFFF#000000##FFFFFF
##CC01741.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#DE0043
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #cc0174;
/* rgb */ color: rgb(204, 1, 116);
/* oklch */ color: oklch(55.1% 0.225 356.8);
Tailwind
colors: {
  custom: {
    50: '#e26c9b',
    500: '#cc0174',
    950: '#000000',
  },
}
SCSS
$custom: #cc0174;
$custom-light: #e26c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc0174",
  "rgb": {
    "r": 204,
    "g": 1,
    "b": 116
  },
  "hsl": {
    "h": 326.01,
    "s": 99.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55052,
    "c": 0.22453,
    "h": 356.8
  },
  "luminance": 0.1412
}

Semantic roles & 50–950 ramp

primary
#CC0174
secondary
#4BDE8B
accent
#FF8629
background
#FEF7F9
surface
#FDEDF2
border
#D5C8CC
text
#17080E
muted
#857B7E

Preview Lab

Preview with #CC0174

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

Preview Lab → · Contrast checker → · Palette generator →

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