#C54EA1#C54EA1

#C54EA1 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.178 H 341.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C54EA1
RGBrgb(197, 78, 161)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 60%, 77%)
CMYKcmyk(0%, 60.4%, 18.3%, 22.7%)
CIE-LABlab(51.72, 56.61, -21.36)
CIE-LCHlch(51.72, 60.51, 339.33°)
OKLaboklab(60.7% 0.1684 -0.0572)
OKLCHoklch(60.7% 0.178 341.2)
XYZxyz(32.1841, 19.8951, 35.8564)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA1 #4EC572
analogous
#AE4EC5 #C54EA1 #C54E66
triadic
#C54EA1 #A1C54E #4EA1C5
tetradic
#C54EA1 #C5AE4E #4EC572 #4E66C5
square
#C54EA1 #C5AE4E #4EC572 #4E66C5
split-complementary
#C54EA1 #66C54E #4EC5AE
monochromatic
#73265C #A13580 #C54EA1 #D47CB9 #E3AAD2

Accessibility & contrast

On white

4.22
#C54EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C54EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA1#FFFFFF#000000##000000
##C54EA11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54ea1;
/* rgb */ color: rgb(197, 78, 161);
/* oklch */ color: oklch(60.7% 0.178 341.2);
Tailwind
colors: {
  custom: {
    50: '#da86bd',
    500: '#c54ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea1;
$custom-light: #da86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea1",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 318.151,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.17784,
    "h": 341.2
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#C54EA1
secondary
#9ED1AD
accent
#DA784E
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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