#C54EA8#C54EA8

#C54EA8 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.0% C 0.183 H 338.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C54EA8
RGBrgb(197, 78, 168)
HSLhsl(315, 51%, 54%)
HSVhsv(315, 60%, 77%)
CMYKcmyk(0%, 60.4%, 14.7%, 22.7%)
CIE-LABlab(52.01, 57.65, -25.03)
CIE-LCHlch(52.01, 62.85, 336.53°)
OKLaboklab(61.01% 0.1698 -0.0676)
OKLCHoklch(61.01% 0.183 338.3)
XYZxyz(32.8187, 20.1490, 39.1989)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA8 #4EC56B
analogous
#A74EC5 #C54EA8 #C54E6D
triadic
#C54EA8 #A8C54E #4EA8C5
tetradic
#C54EA8 #C5A74E #4EC56B #4E6DC5
square
#C54EA8 #C5A74E #4EC56B #4E6DC5
split-complementary
#C54EA8 #6DC54E #4EC5A7
monochromatic
#732660 #A13587 #C54EA8 #D47CBF #E3AAD5

Accessibility & contrast

On white

4.18
#C54EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C54EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA8#FFFFFF#000000##000000
##C54EA81.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#CF5274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54ea8;
/* rgb */ color: rgb(197, 78, 168);
/* oklch */ color: oklch(61.0% 0.183 338.3);
Tailwind
colors: {
  custom: {
    50: '#da86c2',
    500: '#c54ea8',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea8;
$custom-light: #da86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea8",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 314.622,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.18272,
    "h": 338.3
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#C54EA8
secondary
#9ED1AA
accent
#DA704E
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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