#C54FA3#C54FA3

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

Color values

HEX#C54FA3
RGBrgb(197, 79, 163)
HSLhsl(317, 50%, 54%)
HSVhsv(317, 60%, 77%)
CMYKcmyk(0%, 59.9%, 17.3%, 22.7%)
CIE-LABlab(51.96, 56.47, -22.16)
CIE-LCHlch(51.96, 60.66, 338.57°)
OKLaboklab(60.91% 0.1675 -0.0595)
OKLCHoklch(60.91% 0.178 340.4)
XYZxyz(32.4335, 20.1094, 36.8166)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FA3 #4FC571
analogous
#AC4FC5 #C54FA3 #C54F68
triadic
#C54FA3 #A3C54F #4FA3C5
tetradic
#C54FA3 #C5AC4F #4FC571 #4F68C5
square
#C54FA3 #C5AC4F #4FC571 #4F68C5
split-complementary
#C54FA3 #68C54F #4FC5AC
monochromatic
#74265D #A23582 #C54FA3 #D47DBB #E3ABD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54FA3#FFFFFF#000000##000000
##C54FA31.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)
#5670A6
Deuteranopia (green-blind)
#7883A0
Tritanopia (blue-blind)
#D05172
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54fa3;
/* rgb */ color: rgb(197, 79, 163);
/* oklch */ color: oklch(60.9% 0.178 340.4);
Tailwind
colors: {
  custom: {
    50: '#da87be',
    500: '#c54fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c54fa3;
$custom-light: #da87be;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fa3",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 317.288,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.17773,
    "h": 340.4
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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