#C54EA5#C54EA5

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

Color values

HEX#C54EA5
RGBrgb(197, 78, 165)
HSLhsl(316, 51%, 54%)
HSVhsv(316, 60%, 77%)
CMYKcmyk(0%, 60.4%, 16.2%, 22.7%)
CIE-LABlab(51.88, 57.20, -23.46)
CIE-LCHlch(51.88, 61.82, 337.70°)
OKLaboklab(60.88% 0.1692 -0.0631)
OKLCHoklch(60.88% 0.181 339.5)
XYZxyz(32.5425, 20.0385, 37.7439)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA5 #4EC56E
analogous
#A94EC5 #C54EA5 #C54E6A
triadic
#C54EA5 #A5C54E #4EA5C5
tetradic
#C54EA5 #C5A94E #4EC56E #4E6AC5
square
#C54EA5 #C5A94E #4EC56E #4E6AC5
split-complementary
#C54EA5 #6AC54E #4EC5A9
monochromatic
#73265E #A13584 #C54EA5 #D47CBC #E3AAD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54EA5#FFFFFF#000000##000000
##C54EA51.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)
#5470A8
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#D05172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54ea5;
/* rgb */ color: rgb(197, 78, 165);
/* oklch */ color: oklch(60.9% 0.181 339.5);
Tailwind
colors: {
  custom: {
    50: '#da86c0',
    500: '#c54ea5',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea5;
$custom-light: #da86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea5",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 316.134,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.18059,
    "h": 339.5
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#C54EA5
secondary
#9ED1AC
accent
#DA734E
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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