#C54987#C54987

#C54987 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.1% C 0.170 H 352.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C54987
RGBrgb(197, 73, 135)
HSLhsl(330, 52%, 53%)
HSVhsv(330, 63%, 77%)
CMYKcmyk(0%, 62.9%, 31.5%, 22.7%)
CIE-LABlab(49.96, 55.29, -8.57)
CIE-LCHlch(49.96, 55.95, 351.19°)
OKLaboklab(59.09% 0.1684 -0.022)
OKLCHoklch(59.09% 0.17 352.5)
XYZxyz(29.7832, 18.3878, 24.8977)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54987 #49C587
analogous
#C549C5 #C54987 #C54949
triadic
#C54987 #87C549 #4987C5
tetradic
#C54987 #C5C549 #49C587 #4949C5
square
#C54987 #C5C549 #49C587 #4949C5
split-complementary
#C54987 #49C549 #49C5C5
monochromatic
#70244A #9E3268 #C54987 #D477A6 #E3A6C4

Accessibility & contrast

On white

4.49
#C54987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C54987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54987
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54987#FFFFFF#000000##000000
##C549871.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6989
Deuteranopia (green-blind)
#7E7F84
Tritanopia (blue-blind)
#D34262
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c54987;
/* rgb */ color: rgb(197, 73, 135);
/* oklch */ color: oklch(59.1% 0.170 352.5);
Tailwind
colors: {
  custom: {
    50: '#da83aa',
    500: '#c54987',
    950: '#000000',
  },
}
SCSS
$custom: #c54987;
$custom-light: #da83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c54987",
  "rgb": {
    "r": 197,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 330,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.16983,
    "h": 352.5
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#C54987
secondary
#9AD0B5
accent
#DB944D
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C54987

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

Preview Lab → · Contrast checker → · Palette generator →

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