#C54FA9#C54FA9

#C54FA9 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.182 H 337.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C54FA9
RGBrgb(197, 79, 169)
HSLhsl(314, 50%, 54%)
HSVhsv(314, 60%, 77%)
CMYKcmyk(0%, 59.9%, 14.2%, 22.7%)
CIE-LABlab(52.21, 57.37, -25.30)
CIE-LCHlch(52.21, 62.70, 336.20°)
OKLaboklab(61.17% 0.1687 -0.0683)
OKLCHoklch(61.17% 0.182 337.9)
XYZxyz(32.9839, 20.3296, 39.7152)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FA9 #4FC56B
analogous
#A64FC5 #C54FA9 #C54F6E
triadic
#C54FA9 #A9C54F #4FA9C5
tetradic
#C54FA9 #C5A64F #4FC56B #4F6EC5
square
#C54FA9 #C5A64F #4FC56B #4F6EC5
split-complementary
#C54FA9 #6EC54F #4FC5A6
monochromatic
#742661 #A23588 #C54FA9 #D47DBF #E3ABD6

Accessibility & contrast

On white

4.15
#C54FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C54FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FA9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FA9#FFFFFF#000000##000000
##C54FA91.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#CF5375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54fa9;
/* rgb */ color: rgb(197, 79, 169);
/* oklch */ color: oklch(61.2% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#da87c2',
    500: '#c54fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c54fa9;
$custom-light: #da87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fa9",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 314.237,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.18197,
    "h": 337.9
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#C54FA9
secondary
#9FD1AB
accent
#DA6F4E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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