#C54CA3#C54CA3

#C54CA3 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.182 H 340.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C54CA3
RGBrgb(197, 76, 163)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 61%, 77%)
CMYKcmyk(0%, 61.4%, 17.3%, 22.7%)
CIE-LABlab(51.48, 57.77, -22.90)
CIE-LCHlch(51.48, 62.14, 338.38°)
OKLaboklab(60.56% 0.1714 -0.0616)
OKLCHoklch(60.56% 0.182 340.2)
XYZxyz(32.2219, 19.6864, 36.7460)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CA3 #4CC56E
analogous
#AB4CC5 #C54CA3 #C54C66
triadic
#C54CA3 #A3C54C #4CA3C5
tetradic
#C54CA3 #C5AB4C #4CC56E #4C66C5
square
#C54CA3 #C5AB4C #4CC56E #4C66C5
split-complementary
#C54CA3 #66C54C #4CC5AB
monochromatic
#72255C #A03482 #C54CA3 #D47ABB #E3A8D3

Accessibility & contrast

On white

4.25
#C54CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C54CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CA3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CA3#FFFFFF#000000##000000
##C54CA31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#D04F71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ca3;
/* rgb */ color: rgb(197, 76, 163);
/* oklch */ color: oklch(60.6% 0.182 340.2);
Tailwind
colors: {
  custom: {
    50: '#da85be',
    500: '#c54ca3',
    950: '#000000',
  },
}
SCSS
$custom: #c54ca3;
$custom-light: #da85be;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ca3",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 316.86,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.18211,
    "h": 340.2
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#C54CA3
secondary
#9CD0AB
accent
#DB754D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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