#C04173#C04173

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

Color values

HEX#C04173
RGBrgb(192, 65, 115)
HSLhsl(336, 50%, 50%)
HSVhsv(336, 66%, 75%)
CMYKcmyk(0%, 66.1%, 40.1%, 24.7%)
CIE-LABlab(47.27, 54.84, -0.56)
CIE-LCHlch(47.27, 54.84, 359.42°)
OKLaboklab(56.74% 0.1678 -0.0008)
OKLCHoklch(56.74% 0.168 359.7)
XYZxyz(26.7248, 16.2280, 17.9413)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04173 #41C08E
analogous
#C041B3 #C04173 #C04E41
triadic
#C04173 #73C041 #4173C0
tetradic
#C04173 #B3C041 #41C08E #4E41C0
square
#C04173 #B3C041 #41C08E #4E41C0
split-complementary
#C04173 #41C04E #41B3C0
monochromatic
#65223C #933157 #C04173 #CF6F95 #DE9DB7

Accessibility & contrast

On white

4.95
#C04173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C04173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04173
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04173#FFFFFF#000000##FFFFFF
##C041731.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596174
Deuteranopia (green-blind)
#7C7970
Tritanopia (blue-blind)
#CF3355
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04173;
/* rgb */ color: rgb(192, 65, 115);
/* oklch */ color: oklch(56.7% 0.168 359.7);
Tailwind
colors: {
  custom: {
    50: '#d87e9b',
    500: '#c04173',
    950: '#000000',
  },
}
SCSS
$custom: #c04173;
$custom-light: #d87e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04173",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 336.378,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.1678,
    "h": 359.7
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04173

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

Preview Lab → · Contrast checker → · Palette generator →

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