#C54CA1#C54CA1

#C54CA1 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.5% C 0.181 H 341.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C54CA1
RGBrgb(197, 76, 161)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 61%, 77%)
CMYKcmyk(0%, 61.4%, 18.3%, 22.7%)
CIE-LABlab(51.40, 57.48, -21.85)
CIE-LCHlch(51.40, 61.49, 339.19°)
OKLaboklab(60.47% 0.171 -0.0586)
OKLCHoklch(60.47% 0.181 341.1)
XYZxyz(32.0442, 19.6152, 35.8098)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CA1 #4CC570
analogous
#AC4CC5 #C54CA1 #C54C64
triadic
#C54CA1 #A1C54C #4CA1C5
tetradic
#C54CA1 #C5AC4C #4CC570 #4C64C5
square
#C54CA1 #C5AC4C #4CC570 #4C64C5
split-complementary
#C54CA1 #64C54C #4CC5AC
monochromatic
#72255B #A03480 #C54CA1 #D47AB9 #E3A8D2

Accessibility & contrast

On white

4.27
#C54CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C54CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CA1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CA1#FFFFFF#000000##000000
##C54CA11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#77829E
Tritanopia (blue-blind)
#D04E70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54ca1;
/* rgb */ color: rgb(197, 76, 161);
/* oklch */ color: oklch(60.5% 0.181 341.1);
Tailwind
colors: {
  custom: {
    50: '#da85bd',
    500: '#c54ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c54ca1;
$custom-light: #da85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ca1",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 317.851,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.18074,
    "h": 341.1
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#C54CA1
secondary
#9CD0AC
accent
#DB774D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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