#C04871#C04871

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

Color values

HEX#C04871
RGBrgb(192, 72, 113)
HSLhsl(340, 49%, 52%)
HSVhsv(340, 63%, 75%)
CMYKcmyk(0%, 62.5%, 41.1%, 24.7%)
CIE-LABlab(48.31, 51.66, 2.17)
CIE-LCHlch(48.31, 51.70, 2.40°)
OKLaboklab(57.48% 0.1577 0.0062)
OKLCHoklch(57.48% 0.158 2.3)
XYZxyz(27.0380, 17.0366, 17.4841)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04871 #48C097
analogous
#C048AD #C04871 #C05B48
triadic
#C04871 #71C048 #4871C0
tetradic
#C04871 #ADC048 #48C097 #5B48C0
square
#C04871 #ADC048 #48C097 #5B48C0
split-complementary
#C04871 #48C05B #48ADC0
monochromatic
#69243C #973456 #C04871 #D07694 #DFA3B8

Accessibility & contrast

On white

4.77
#C04871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04871
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04871#FFFFFF#000000##FFFFFF
##C048711.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04871;
/* rgb */ color: rgb(192, 72, 113);
/* oklch */ color: oklch(57.5% 0.158 2.3);
Tailwind
colors: {
  custom: {
    50: '#d78199',
    500: '#c04871',
    950: '#000000',
  },
}
SCSS
$custom: #c04871;
$custom-light: #d78199;
$custom-dark: #000000;
JSON
{
  "hex": "#c04871",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 339.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.15785,
    "h": 2.3
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04871

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

Preview Lab → · Contrast checker → · Palette generator →

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