#C54A87#C54A87

#C54A87 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.168 H 352.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C54A87
RGBrgb(197, 74, 135)
HSLhsl(330, 51%, 53%)
HSVhsv(330, 62%, 77%)
CMYKcmyk(0%, 62.4%, 31.5%, 22.7%)
CIE-LABlab(50.12, 54.86, -8.34)
CIE-LCHlch(50.12, 55.49, 351.36°)
OKLaboklab(59.21% 0.1671 -0.0214)
OKLCHoklch(59.21% 0.168 352.7)
XYZxyz(29.8494, 18.5203, 24.9198)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54A87 #4AC588
analogous
#C54AC4 #C54A87 #C54A4A
triadic
#C54A87 #87C54A #4A87C5
tetradic
#C54A87 #C4C54A #4AC588 #4A4AC5
square
#C54A87 #C4C54A #4AC588 #4A4AC5
split-complementary
#C54A87 #4AC54A #4AC4C5
monochromatic
#71244A #9F3368 #C54A87 #D478A6 #E3A7C4

Accessibility & contrast

On white

4.46
#C54A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C54A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54A87
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54A87#FFFFFF#000000##000000
##C54A871.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54a87;
/* rgb */ color: rgb(197, 74, 135);
/* oklch */ color: oklch(59.2% 0.168 352.7);
Tailwind
colors: {
  custom: {
    50: '#da83aa',
    500: '#c54a87',
    950: '#000000',
  },
}
SCSS
$custom: #c54a87;
$custom-light: #da83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c54a87",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 330.244,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.16843,
    "h": 352.7
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54A87

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

Preview Lab → · Contrast checker → · Palette generator →

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