#C04872#C04872

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

Color values

HEX#C04872
RGBrgb(192, 72, 114)
HSLhsl(339, 49%, 52%)
HSVhsv(339, 63%, 75%)
CMYKcmyk(0%, 62.5%, 40.6%, 24.7%)
CIE-LABlab(48.33, 51.76, 1.60)
CIE-LCHlch(48.33, 51.79, 1.77°)
OKLaboklab(57.51% 0.1581 0.0048)
OKLCHoklch(57.51% 0.158 1.7)
XYZxyz(27.0946, 17.0592, 17.7822)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04872 #48C096
analogous
#C048AE #C04872 #C05A48
triadic
#C04872 #72C048 #4872C0
tetradic
#C04872 #AEC048 #48C096 #5A48C0
square
#C04872 #AEC048 #48C096 #5A48C0
split-complementary
#C04872 #48C05A #48AEC0
monochromatic
#69243C #973457 #C04872 #D07695 #DFA3B8

Accessibility & contrast

On white

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

On black

4.41
#C04872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C04872#FFFFFF#000000##FFFFFF
##C048721.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#7F7B6F
Tritanopia (blue-blind)
#CF3B58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04872;
/* rgb */ color: rgb(192, 72, 114);
/* oklch */ color: oklch(57.5% 0.158 1.7);
Tailwind
colors: {
  custom: {
    50: '#d7819a',
    500: '#c04872',
    950: '#000000',
  },
}
SCSS
$custom: #c04872;
$custom-light: #d7819a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04872",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 339,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.15815,
    "h": 1.7
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#C04872
secondary
#98CCBA
accent
#D8A84F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04872

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

Preview Lab → · Contrast checker → · Palette generator →

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