#C54A8A#C54A8A

#C54A8A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.170 H 351.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C54A8A
RGBrgb(197, 74, 138)
HSLhsl(329, 51%, 53%)
HSVhsv(329, 62%, 77%)
CMYKcmyk(0%, 62.4%, 29.9%, 22.7%)
CIE-LABlab(50.22, 55.23, -9.98)
CIE-LCHlch(50.22, 56.12, 349.76°)
OKLaboklab(59.32% 0.1679 -0.0258)
OKLCHoklch(59.32% 0.17 351.3)
XYZxyz(30.0636, 18.6060, 26.0479)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54A8A #4AC585
analogous
#C24AC5 #C54A8A #C54A4D
triadic
#C54A8A #8AC54A #4A8AC5
tetradic
#C54A8A #C5C24A #4AC585 #4A4DC5
square
#C54A8A #C5C24A #4AC585 #4A4DC5
split-complementary
#C54A8A #4DC54A #4AC5C2
monochromatic
#71244C #9F336B #C54A8A #D478A8 #E3A7C6

Accessibility & contrast

On white

4.45
#C54A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C54A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54A8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54A8A#FFFFFF#000000##000000
##C54A8A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#7D8087
Tritanopia (blue-blind)
#D34464
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c54a8a;
/* rgb */ color: rgb(197, 74, 138);
/* oklch */ color: oklch(59.3% 0.170 351.3);
Tailwind
colors: {
  custom: {
    50: '#da83ac',
    500: '#c54a8a',
    950: '#000000',
  },
}
SCSS
$custom: #c54a8a;
$custom-light: #da83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c54a8a",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 328.78,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5932,
    "c": 0.16992,
    "h": 351.3
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#C54A8A
secondary
#9BD0B4
accent
#DB914D
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C54A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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