#C04172#C04172

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

Color values

HEX#C04172
RGBrgb(192, 65, 114)
HSLhsl(337, 50%, 50%)
HSVhsv(337, 66%, 75%)
CMYKcmyk(0%, 66.1%, 40.6%, 24.7%)
CIE-LABlab(47.24, 54.73, 0.01)
CIE-LCHlch(47.24, 54.73, 0.01°)
OKLaboklab(56.7% 0.1675 0.0007)
OKLCHoklch(56.7% 0.167 0.2)
XYZxyz(26.6676, 16.2051, 17.6399)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04172 #41C08F
analogous
#C041B2 #C04172 #C04F41
triadic
#C04172 #72C041 #4172C0
tetradic
#C04172 #B2C041 #41C08F #4F41C0
square
#C04172 #B2C041 #41C08F #4F41C0
split-complementary
#C04172 #41C04F #41B2C0
monochromatic
#65223C #933157 #C04172 #CF6F94 #DE9DB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04172#FFFFFF#000000##FFFFFF
##C041721.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)
#5A6173
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#D03355
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04172;
/* rgb */ color: rgb(192, 65, 114);
/* oklch */ color: oklch(56.7% 0.167 0.2);
Tailwind
colors: {
  custom: {
    50: '#d87d9a',
    500: '#c04172',
    950: '#000000',
  },
}
SCSS
$custom: #c04172;
$custom-light: #d87d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04172",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 336.85,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56703,
    "c": 0.16746,
    "h": 0.2
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04172

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

Preview Lab → · Contrast checker → · Palette generator →

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