#C54DA2#C54DA2

#C54DA2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.180 H 340.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C54DA2
RGBrgb(197, 77, 162)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 61%, 77%)
CMYKcmyk(0%, 60.9%, 17.8%, 22.7%)
CIE-LABlab(51.60, 57.19, -22.13)
CIE-LCHlch(51.60, 61.33, 338.85°)
OKLaboklab(60.63% 0.1699 -0.0594)
OKLCHoklch(60.63% 0.18 340.7)
XYZxyz(32.2021, 19.7895, 36.2992)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DA2 #4DC570
analogous
#AC4DC5 #C54DA2 #C54D66
triadic
#C54DA2 #A2C54D #4DA2C5
tetradic
#C54DA2 #C5AC4D #4DC570 #4D66C5
square
#C54DA2 #C5AC4D #4DC570 #4D66C5
split-complementary
#C54DA2 #66C54D #4DC5AC
monochromatic
#72255C #A03481 #C54DA2 #D47BBA #E3A9D2

Accessibility & contrast

On white

4.24
#C54DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C54DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54DA2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54DA2#FFFFFF#000000##000000
##C54DA21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D04F71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54da2;
/* rgb */ color: rgb(197, 77, 162);
/* oklch */ color: oklch(60.6% 0.180 340.7);
Tailwind
colors: {
  custom: {
    50: '#da86bd',
    500: '#c54da2',
    950: '#000000',
  },
}
SCSS
$custom: #c54da2;
$custom-light: #da86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54da2",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 317.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.17998,
    "h": 340.7
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#C54DA2
secondary
#9DD1AC
accent
#DA774D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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