#C54AA2#C54AA2

#C54AA2 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.184 H 340.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C54AA2
RGBrgb(197, 74, 162)
HSLhsl(317, 51%, 53%)
HSVhsv(317, 62%, 77%)
CMYKcmyk(0%, 62.4%, 17.8%, 22.7%)
CIE-LABlab(51.13, 58.48, -22.85)
CIE-LCHlch(51.13, 62.79, 338.65°)
OKLaboklab(60.28% 0.1737 -0.0614)
OKLCHoklch(60.28% 0.184 340.5)
XYZxyz(31.9971, 19.3794, 36.2308)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AA2 #4AC56D
analogous
#AA4AC5 #C54AA2 #C54A64
triadic
#C54AA2 #A2C54A #4AA2C5
tetradic
#C54AA2 #C5AA4A #4AC56D #4A64C5
square
#C54AA2 #C5AA4A #4AC56D #4A64C5
split-complementary
#C54AA2 #64C54A #4AC5AA
monochromatic
#71245B #9F3380 #C54AA2 #D478BA #E3A7D2

Accessibility & contrast

On white

4.31
#C54AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C54AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AA2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AA2#FFFFFF#000000##000000
##C54AA21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#D04D6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54aa2;
/* rgb */ color: rgb(197, 74, 162);
/* oklch */ color: oklch(60.3% 0.184 340.5);
Tailwind
colors: {
  custom: {
    50: '#da84bd',
    500: '#c54aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c54aa2;
$custom-light: #da84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54aa2",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 317.073,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.18428,
    "h": 340.5
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#C54AA2
secondary
#9BD0AA
accent
#DB754D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C54AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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