#C54AA3#C54AA3

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

Color values

HEX#C54AA3
RGBrgb(197, 74, 163)
HSLhsl(317, 51%, 53%)
HSVhsv(317, 62%, 77%)
CMYKcmyk(0%, 62.4%, 17.3%, 22.7%)
CIE-LABlab(51.17, 58.63, -23.38)
CIE-LCHlch(51.17, 63.12, 338.26°)
OKLaboklab(60.33% 0.174 -0.0629)
OKLCHoklch(60.33% 0.185 340.1)
XYZxyz(32.0863, 19.4150, 36.7008)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AA3 #4AC56C
analogous
#A94AC5 #C54AA3 #C54A66
triadic
#C54AA3 #A3C54A #4AA3C5
tetradic
#C54AA3 #C5A94A #4AC56C #4A66C5
square
#C54AA3 #C5A94A #4AC56C #4A66C5
split-complementary
#C54AA3 #66C54A #4AC5A9
monochromatic
#71245B #9F3381 #C54AA3 #D478BB #E3A7D2

Accessibility & contrast

On white

4.30
#C54AA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54AA3#FFFFFF#000000##000000
##C54AA31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D04D70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54aa3;
/* rgb */ color: rgb(197, 74, 163);
/* oklch */ color: oklch(60.3% 0.185 340.1);
Tailwind
colors: {
  custom: {
    50: '#da84be',
    500: '#c54aa3',
    950: '#000000',
  },
}
SCSS
$custom: #c54aa3;
$custom-light: #da84be;
$custom-dark: #000000;
JSON
{
  "hex": "#c54aa3",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 316.585,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.18497,
    "h": 340.1
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#C54AA3
secondary
#9BD0AA
accent
#DB744D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C54AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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