#C54FA1#C54FA1

#C54FA1 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.176 H 341.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C54FA1
RGBrgb(197, 79, 161)
HSLhsl(318, 50%, 54%)
HSVhsv(318, 60%, 77%)
CMYKcmyk(0%, 59.9%, 18.3%, 22.7%)
CIE-LABlab(51.88, 56.17, -21.11)
CIE-LCHlch(51.88, 60.01, 339.41°)
OKLaboklab(60.82% 0.167 -0.0566)
OKLCHoklch(60.82% 0.176 341.3)
XYZxyz(32.2557, 20.0383, 35.8803)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FA1 #4FC573
analogous
#AE4FC5 #C54FA1 #C54F66
triadic
#C54FA1 #A1C54F #4FA1C5
tetradic
#C54FA1 #C5AE4F #4FC573 #4F66C5
square
#C54FA1 #C5AE4F #4FC573 #4F66C5
split-complementary
#C54FA1 #66C54F #4FC5AE
monochromatic
#74265C #A23581 #C54FA1 #D47DBA #E3ABD2

Accessibility & contrast

On white

4.19
#C54FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C54FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FA1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FA1#FFFFFF#000000##000000
##C54FA11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#D05171
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54fa1;
/* rgb */ color: rgb(197, 79, 161);
/* oklch */ color: oklch(60.8% 0.176 341.3);
Tailwind
colors: {
  custom: {
    50: '#da87bd',
    500: '#c54fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c54fa1;
$custom-light: #da87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fa1",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 318.305,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.17636,
    "h": 341.3
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#C54FA1
secondary
#9FD1AE
accent
#DA794E
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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