#C54AA1#C54AA1

#C54AA1 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.184 H 340.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C54AA1
RGBrgb(197, 74, 161)
HSLhsl(318, 51%, 53%)
HSVhsv(318, 62%, 77%)
CMYKcmyk(0%, 62.4%, 18.3%, 22.7%)
CIE-LABlab(51.09, 58.33, -22.33)
CIE-LCHlch(51.09, 62.46, 339.06°)
OKLaboklab(60.24% 0.1736 -0.0599)
OKLCHoklch(60.24% 0.184 340.9)
XYZxyz(31.9085, 19.3439, 35.7645)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AA1 #4AC56E
analogous
#AB4AC5 #C54AA1 #C54A63
triadic
#C54AA1 #A1C54A #4AA1C5
tetradic
#C54AA1 #C5AB4A #4AC56E #4A63C5
square
#C54AA1 #C5AB4A #4AC56E #4A63C5
split-complementary
#C54AA1 #63C54A #4AC5AB
monochromatic
#71245A #9F337F #C54AA1 #D478B9 #E3A7D1

Accessibility & contrast

On white

4.31
#C54AA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C54AA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AA1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AA1#FFFFFF#000000##000000
##C54AA11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#76819E
Tritanopia (blue-blind)
#D04C6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54aa1;
/* rgb */ color: rgb(197, 74, 161);
/* oklch */ color: oklch(60.2% 0.184 340.9);
Tailwind
colors: {
  custom: {
    50: '#da84bd',
    500: '#c54aa1',
    950: '#000000',
  },
}
SCSS
$custom: #c54aa1;
$custom-light: #da84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54aa1",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 317.561,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6024,
    "c": 0.18361,
    "h": 340.9
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#C54AA1
secondary
#9BD0AA
accent
#DB764D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C54AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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