#C54EA7#C54EA7

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

Color values

HEX#C54EA7
RGBrgb(197, 78, 167)
HSLhsl(315, 51%, 54%)
HSVhsv(315, 60%, 77%)
CMYKcmyk(0%, 60.4%, 15.2%, 22.7%)
CIE-LABlab(51.96, 57.50, -24.50)
CIE-LCHlch(51.96, 62.50, 336.92°)
OKLaboklab(60.97% 0.1696 -0.0661)
OKLCHoklch(60.97% 0.182 338.7)
XYZxyz(32.7259, 20.1119, 38.7101)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA7 #4EC56C
analogous
#A84EC5 #C54EA7 #C54E6C
triadic
#C54EA7 #A7C54E #4EA7C5
tetradic
#C54EA7 #C5A84E #4EC56C #4E6CC5
square
#C54EA7 #C5A84E #4EC56C #4E6CC5
split-complementary
#C54EA7 #6CC54E #4EC5A8
monochromatic
#73265F #A13586 #C54EA7 #D47CBE #E3AAD5

Accessibility & contrast

On white

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

On black

5.02
#C54EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA7#FFFFFF#000000##000000
##C54EA71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#CF5273
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54ea7;
/* rgb */ color: rgb(197, 78, 167);
/* oklch */ color: oklch(61.0% 0.182 338.7);
Tailwind
colors: {
  custom: {
    50: '#da86c1',
    500: '#c54ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea7;
$custom-light: #da86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea7",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 315.126,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.18201,
    "h": 338.7
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#C54EA7
secondary
#9ED1AB
accent
#DA714E
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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