#C54EA3#C54EA3

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

Color values

HEX#C54EA3
RGBrgb(197, 78, 163)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 60%, 77%)
CMYKcmyk(0%, 60.4%, 17.3%, 22.7%)
CIE-LABlab(51.80, 56.90, -22.41)
CIE-LCHlch(51.80, 61.16, 338.51°)
OKLaboklab(60.79% 0.1688 -0.0602)
OKLCHoklch(60.79% 0.179 340.4)
XYZxyz(32.3619, 19.9662, 36.7927)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA3 #4EC570
analogous
#AC4EC5 #C54EA3 #C54E68
triadic
#C54EA3 #A3C54E #4EA3C5
tetradic
#C54EA3 #C5AC4E #4EC570 #4E68C5
square
#C54EA3 #C5AC4E #4EC570 #4E68C5
split-complementary
#C54EA3 #68C54E #4EC5AC
monochromatic
#73265D #A13582 #C54EA3 #D47CBB #E3AAD3

Accessibility & contrast

On white

4.21
#C54EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C54EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA3#FFFFFF#000000##000000
##C54EA31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#D05071
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ea3;
/* rgb */ color: rgb(197, 78, 163);
/* oklch */ color: oklch(60.8% 0.179 340.4);
Tailwind
colors: {
  custom: {
    50: '#da86be',
    500: '#c54ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea3;
$custom-light: #da86be;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea3",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 317.143,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.1792,
    "h": 340.4
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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