#C04873#C04873

#C04873 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.5% C 0.158 H 1.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C04873
RGBrgb(192, 72, 115)
HSLhsl(339, 49%, 52%)
HSVhsv(339, 63%, 75%)
CMYKcmyk(0%, 62.5%, 40.1%, 24.7%)
CIE-LABlab(48.36, 51.87, 1.04)
CIE-LCHlch(48.36, 51.88, 1.14°)
OKLaboklab(57.55% 0.1584 0.0033)
OKLCHoklch(57.55% 0.158 1.2)
XYZxyz(27.1519, 17.0821, 18.0836)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04873 #48C095
analogous
#C048AF #C04873 #C05948
triadic
#C04873 #73C048 #4873C0
tetradic
#C04873 #AFC048 #48C095 #5948C0
square
#C04873 #AFC048 #48C095 #5948C0
split-complementary
#C04873 #48C059 #48AFC0
monochromatic
#69243D #973457 #C04873 #D07696 #DFA3B9

Accessibility & contrast

On white

4.76
#C04873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C04873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04873
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04873#FFFFFF#000000##FFFFFF
##C048731.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6474
Deuteranopia (green-blind)
#7E7B70
Tritanopia (blue-blind)
#CF3B59
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04873;
/* rgb */ color: rgb(192, 72, 115);
/* oklch */ color: oklch(57.5% 0.158 1.2);
Tailwind
colors: {
  custom: {
    50: '#d7819b',
    500: '#c04873',
    950: '#000000',
  },
}
SCSS
$custom: #c04873;
$custom-light: #d7819b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04873",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 338.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.15846,
    "h": 1.2
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#C04873
secondary
#98CCB9
accent
#D8A74F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04873

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

Preview Lab → · Contrast checker → · Palette generator →

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