#C54DAA#C54DAA

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

Color values

HEX#C54DAA
RGBrgb(197, 77, 170)
HSLhsl(314, 51%, 54%)
HSVhsv(314, 61%, 77%)
CMYKcmyk(0%, 60.9%, 13.7%, 22.7%)
CIE-LABlab(51.93, 58.39, -26.31)
CIE-LCHlch(51.93, 64.04, 335.74°)
OKLaboklab(60.98% 0.1714 -0.0712)
OKLCHoklch(60.98% 0.186 337.4)
XYZxyz(32.9360, 20.0831, 40.1642)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54DAA #4DC568
analogous
#A44DC5 #C54DAA #C54D6E
triadic
#C54DAA #AAC54D #4DAAC5
tetradic
#C54DAA #C5A44D #4DC568 #4D6EC5
square
#C54DAA #C5A44D #4DC568 #4D6EC5
split-complementary
#C54DAA #6EC54D #4DC5A4
monochromatic
#722561 #A03488 #C54DAA #D47BC0 #E3A9D6

Accessibility & contrast

On white

4.19
#C54DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54DAA#FFFFFF#000000##000000
##C54DAA1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#CF5274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c54daa;
/* rgb */ color: rgb(197, 77, 170);
/* oklch */ color: oklch(61.0% 0.186 337.4);
Tailwind
colors: {
  custom: {
    50: '#da86c3',
    500: '#c54daa',
    950: '#000000',
  },
}
SCSS
$custom: #c54daa;
$custom-light: #da86c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c54daa",
  "rgb": {
    "r": 197,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 313.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.18562,
    "h": 337.4
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#C54DAA
secondary
#9DD1A9
accent
#DA6D4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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