#C04174#C04174

#C04174 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.8% C 0.168 H 359.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04174
RGBrgb(192, 65, 116)
HSLhsl(336, 50%, 50%)
HSVhsv(336, 66%, 75%)
CMYKcmyk(0%, 66.1%, 39.6%, 24.7%)
CIE-LABlab(47.30, 54.94, -1.12)
CIE-LCHlch(47.30, 54.96, 358.83°)
OKLaboklab(56.77% 0.1681 -0.0023)
OKLCHoklch(56.77% 0.168 359.2)
XYZxyz(26.7827, 16.2512, 18.2460)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04174 #41C08D
analogous
#C041B3 #C04174 #C04E41
triadic
#C04174 #74C041 #4174C0
tetradic
#C04174 #B3C041 #41C08D #4E41C0
square
#C04174 #B3C041 #41C08D #4E41C0
split-complementary
#C04174 #41C04E #41B3C0
monochromatic
#65223D #933158 #C04174 #CF6F96 #DE9DB7

Accessibility & contrast

On white

4.94
#C04174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C04174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04174
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04174#FFFFFF#000000##FFFFFF
##C041741.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596175
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#CF3356
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04174;
/* rgb */ color: rgb(192, 65, 116);
/* oklch */ color: oklch(56.8% 0.168 359.2);
Tailwind
colors: {
  custom: {
    50: '#d87e9b',
    500: '#c04174',
    950: '#000000',
  },
}
SCSS
$custom: #c04174;
$custom-light: #d87e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04174",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 335.906,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.16815,
    "h": 359.2
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#C04174
secondary
#92CBB4
accent
#DAA24E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04174

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

Preview Lab → · Contrast checker → · Palette generator →

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