#C04877#C04877

#C04877 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.7% C 0.160 H 359.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C04877
RGBrgb(192, 72, 119)
HSLhsl(337, 49%, 52%)
HSVhsv(337, 63%, 75%)
CMYKcmyk(0%, 62.5%, 38%, 24.7%)
CIE-LABlab(48.48, 52.31, -1.22)
CIE-LCHlch(48.48, 52.32, 358.67°)
OKLaboklab(57.67% 0.1598 -0.0025)
OKLCHoklch(57.67% 0.16 359.1)
XYZxyz(27.3870, 17.1762, 19.3223)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04877 #48C091
analogous
#C048B3 #C04877 #C05548
triadic
#C04877 #77C048 #4877C0
tetradic
#C04877 #B3C048 #48C091 #5548C0
square
#C04877 #B3C048 #48C091 #5548C0
split-complementary
#C04877 #48C055 #48B3C0
monochromatic
#69243F #97345B #C04877 #D07699 #DFA3BB

Accessibility & contrast

On white

4.74
#C04877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C04877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04877
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04877#FFFFFF#000000##FFFFFF
##C048771.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6578
Deuteranopia (green-blind)
#7E7C74
Tritanopia (blue-blind)
#CF3D5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04877;
/* rgb */ color: rgb(192, 72, 119);
/* oklch */ color: oklch(57.7% 0.160 359.1);
Tailwind
colors: {
  custom: {
    50: '#d7819e',
    500: '#c04877',
    950: '#000000',
  },
}
SCSS
$custom: #c04877;
$custom-light: #d7819e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04877",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 336.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57671,
    "c": 0.15983,
    "h": 359.1
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#C04877
secondary
#98CCB8
accent
#D8A34F
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C04877

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

Preview Lab → · Contrast checker → · Palette generator →

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