#C54FAC#C54FAC

#C54FAC is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.184 H 336.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C54FAC
RGBrgb(197, 79, 172)
HSLhsl(313, 50%, 54%)
HSVhsv(313, 60%, 77%)
CMYKcmyk(0%, 59.9%, 12.7%, 22.7%)
CIE-LABlab(52.34, 57.83, -26.86)
CIE-LCHlch(52.34, 63.76, 335.09°)
OKLaboklab(61.31% 0.1692 -0.0728)
OKLCHoklch(61.31% 0.184 336.7)
XYZxyz(33.2687, 20.4435, 41.2155)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FAC #4FC568
analogous
#A34FC5 #C54FAC #C54F71
triadic
#C54FAC #ACC54F #4FACC5
tetradic
#C54FAC #C5A34F #4FC568 #4F71C5
square
#C54FAC #C5A34F #4FC568 #4F71C5
split-complementary
#C54FAC #71C54F #4FC5A3
monochromatic
#742663 #A2358B #C54FAC #D47DC2 #E3ABD7

Accessibility & contrast

On white

4.13
#C54FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C54FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FAC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FAC#FFFFFF#000000##000000
##C54FAC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#7583A9
Tritanopia (blue-blind)
#CF5576
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54fac;
/* rgb */ color: rgb(197, 79, 172);
/* oklch */ color: oklch(61.3% 0.184 336.7);
Tailwind
colors: {
  custom: {
    50: '#da87c5',
    500: '#c54fac',
    950: '#000000',
  },
}
SCSS
$custom: #c54fac;
$custom-light: #da87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fac",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 312.712,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.18418,
    "h": 336.7
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#C54FAC
secondary
#9FD1A9
accent
#DA6C4E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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