#C04A87#C04A87

#C04A87 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.164 H 351.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C04A87
RGBrgb(192, 74, 135)
HSLhsl(329, 48%, 52%)
HSVhsv(329, 61%, 75%)
CMYKcmyk(0%, 61.5%, 29.7%, 24.7%)
CIE-LABlab(49.32, 53.34, -9.62)
CIE-LCHlch(49.32, 54.20, 349.78°)
OKLaboklab(58.46% 0.1621 -0.0249)
OKLCHoklch(58.46% 0.164 351.3)
XYZxyz(28.5615, 17.8562, 24.8594)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A87 #4AC083
analogous
#BE4AC0 #C04A87 #C04A4C
triadic
#C04A87 #87C04A #4A87C0
tetradic
#C04A87 #C0BE4A #4AC083 #4A4CC0
square
#C04A87 #C0BE4A #4AC083 #4A4CC0
split-complementary
#C04A87 #4CC04A #4AC0BE
monochromatic
#6B2549 #983568 #C04A87 #D077A5 #E0A5C3

Accessibility & contrast

On white

4.59
#C04A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C04A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C04A87
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A87#FFFFFF#000000##FFFFFF
##C04A871.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6889
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#CD4463
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c04a87;
/* rgb */ color: rgb(192, 74, 135);
/* oklch */ color: oklch(58.5% 0.164 351.3);
Tailwind
colors: {
  custom: {
    50: '#d783aa',
    500: '#c04a87',
    950: '#000000',
  },
}
SCSS
$custom: #c04a87;
$custom-light: #d783aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a87",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 328.983,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.164,
    "h": 351.3
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#C04A87
secondary
#99CDB2
accent
#D89250
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04A87

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

Preview Lab → · Contrast checker → · Palette generator →

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