#C54EA4#C54EA4

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

Color values

HEX#C54EA4
RGBrgb(197, 78, 164)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 60%, 77%)
CMYKcmyk(0%, 60.4%, 16.8%, 22.7%)
CIE-LABlab(51.84, 57.05, -22.93)
CIE-LCHlch(51.84, 61.49, 338.10°)
OKLaboklab(60.83% 0.169 -0.0617)
OKLCHoklch(60.83% 0.18 339.9)
XYZxyz(32.4518, 20.0022, 37.2664)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA4 #4EC56F
analogous
#AB4EC5 #C54EA4 #C54E69
triadic
#C54EA4 #A4C54E #4EA4C5
tetradic
#C54EA4 #C5AB4E #4EC56F #4E69C5
square
#C54EA4 #C5AB4E #4EC56F #4E69C5
split-complementary
#C54EA4 #69C54E #4EC5AB
monochromatic
#73265E #A13583 #C54EA4 #D47CBC #E3AAD3

Accessibility & contrast

On white

4.20
#C54EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C54EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA4#FFFFFF#000000##000000
##C54EA41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A7
Deuteranopia (green-blind)
#7783A1
Tritanopia (blue-blind)
#D05172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54ea4;
/* rgb */ color: rgb(197, 78, 164);
/* oklch */ color: oklch(60.8% 0.180 339.9);
Tailwind
colors: {
  custom: {
    50: '#da86bf',
    500: '#c54ea4',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea4;
$custom-light: #da86bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea4",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 316.639,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60833,
    "c": 0.17989,
    "h": 339.9
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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