#C04178#C04178

#C04178 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.9% C 0.170 H 357.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C04178
RGBrgb(192, 65, 120)
HSLhsl(334, 50%, 50%)
HSVhsv(334, 66%, 75%)
CMYKcmyk(0%, 66.1%, 37.5%, 24.7%)
CIE-LABlab(47.43, 55.38, -3.38)
CIE-LCHlch(47.43, 55.48, 356.51°)
OKLaboklab(56.9% 0.1695 -0.0082)
OKLCHoklch(56.9% 0.17 357.2)
XYZxyz(27.0204, 16.3462, 19.4979)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04178 #41C089
analogous
#C041B7 #C04178 #C04941
triadic
#C04178 #78C041 #4178C0
tetradic
#C04178 #B7C041 #41C089 #4941C0
square
#C04178 #B7C041 #41C089 #4941C0
split-complementary
#C04178 #41C049 #41B7C0
monochromatic
#65223F #93315B #C04178 #CF6F99 #DE9DB9

Accessibility & contrast

On white

4.92
#C04178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C04178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04178
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04178#FFFFFF#000000##FFFFFF
##C041781.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58617A
Deuteranopia (green-blind)
#7A7975
Tritanopia (blue-blind)
#CF3557
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04178;
/* rgb */ color: rgb(192, 65, 120);
/* oklch */ color: oklch(56.9% 0.170 357.2);
Tailwind
colors: {
  custom: {
    50: '#d77e9e',
    500: '#c04178',
    950: '#000000',
  },
}
SCSS
$custom: #c04178;
$custom-light: #d77e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04178",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 334.016,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.16965,
    "h": 357.2
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#C04178
secondary
#92CBB2
accent
#DA9D4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04178

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

Preview Lab → · Contrast checker → · Palette generator →

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