#C04171#C04171

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

Color values

HEX#C04171
RGBrgb(192, 65, 113)
HSLhsl(337, 50%, 50%)
HSVhsv(337, 66%, 75%)
CMYKcmyk(0%, 66.1%, 41.1%, 24.7%)
CIE-LABlab(47.21, 54.63, 0.58)
CIE-LCHlch(47.21, 54.63, 0.60°)
OKLaboklab(56.67% 0.1671 0.0021)
OKLCHoklch(56.67% 0.167 0.7)
XYZxyz(26.6110, 16.1825, 17.3418)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04171 #41C090
analogous
#C041B0 #C04171 #C05041
triadic
#C04171 #71C041 #4171C0
tetradic
#C04171 #B0C041 #41C090 #5041C0
square
#C04171 #B0C041 #41C090 #5041C0
split-complementary
#C04171 #41C050 #41B0C0
monochromatic
#65223B #933156 #C04171 #CF6F93 #DE9DB6

Accessibility & contrast

On white

4.96
#C04171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04171
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04171#FFFFFF#000000##FFFFFF
##C041711.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6172
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#D03254
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04171;
/* rgb */ color: rgb(192, 65, 113);
/* oklch */ color: oklch(56.7% 0.167 0.7);
Tailwind
colors: {
  custom: {
    50: '#d87d99',
    500: '#c04171',
    950: '#000000',
  },
}
SCSS
$custom: #c04171;
$custom-light: #d87d99;
$custom-dark: #000000;
JSON
{
  "hex": "#c04171",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 337.323,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56672,
    "c": 0.16713,
    "h": 0.7
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#C04171
secondary
#92CBB5
accent
#DAA54E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04171

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

Preview Lab → · Contrast checker → · Palette generator →

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