#C54CA5#C54CA5

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

Color values

HEX#C54CA5
RGBrgb(197, 76, 165)
HSLhsl(316, 51%, 54%)
HSVhsv(316, 61%, 77%)
CMYKcmyk(0%, 61.4%, 16.2%, 22.7%)
CIE-LABlab(51.56, 58.07, -23.95)
CIE-LCHlch(51.56, 62.81, 337.59°)
OKLaboklab(60.64% 0.1718 -0.0645)
OKLCHoklch(60.64% 0.183 339.4)
XYZxyz(32.4026, 19.7586, 37.6973)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CA5 #4CC56C
analogous
#A84CC5 #C54CA5 #C54C68
triadic
#C54CA5 #A5C54C #4CA5C5
tetradic
#C54CA5 #C5A84C #4CC56C #4C68C5
square
#C54CA5 #C5A84C #4CC56C #4C68C5
split-complementary
#C54CA5 #68C54C #4CC5A8
monochromatic
#72255D #A03483 #C54CA5 #D47ABC #E3A8D3

Accessibility & contrast

On white

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

On black

4.95
#C54CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CA5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CA5#FFFFFF#000000##000000
##C54CA51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FA8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#D04F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ca5;
/* rgb */ color: rgb(197, 76, 165);
/* oklch */ color: oklch(60.6% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#da85c0',
    500: '#c54ca5',
    950: '#000000',
  },
}
SCSS
$custom: #c54ca5;
$custom-light: #da85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ca5",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 315.868,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.18349,
    "h": 339.4
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#C54CA5
secondary
#9CD0AA
accent
#DB734D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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