#C54DA1#C54DA1

#C54DA1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.179 H 341.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C54DA1
RGBrgb(197, 77, 161)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 61%, 77%)
CMYKcmyk(0%, 60.9%, 18.3%, 22.7%)
CIE-LABlab(51.56, 57.05, -21.60)
CIE-LCHlch(51.56, 61.00, 339.26°)
OKLaboklab(60.59% 0.1697 -0.0579)
OKLCHoklch(60.59% 0.179 341.1)
XYZxyz(32.1136, 19.7541, 35.8329)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DA1 #4DC571
analogous
#AD4DC5 #C54DA1 #C54D65
triadic
#C54DA1 #A1C54D #4DA1C5
tetradic
#C54DA1 #C5AD4D #4DC571 #4D65C5
square
#C54DA1 #C5AD4D #4DC571 #4D65C5
split-complementary
#C54DA1 #65C54D #4DC5AD
monochromatic
#72255B #A03480 #C54DA1 #D47BB9 #E3A9D2

Accessibility & contrast

On white

4.24
#C54DA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C54DA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DA1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DA1#FFFFFF#000000##000000
##C54DA11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#D04F70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54da1;
/* rgb */ color: rgb(197, 77, 161);
/* oklch */ color: oklch(60.6% 0.179 341.1);
Tailwind
colors: {
  custom: {
    50: '#da86bd',
    500: '#c54da1',
    950: '#000000',
  },
}
SCSS
$custom: #c54da1;
$custom-light: #da86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54da1",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 318,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.1793,
    "h": 341.1
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#C54DA1
secondary
#9DD1AD
accent
#DA784D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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