#C54AAA#C54AAA

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

Color values

HEX#C54AAA
RGBrgb(197, 74, 170)
HSLhsl(313, 51%, 53%)
HSVhsv(313, 62%, 77%)
CMYKcmyk(0%, 62.4%, 13.7%, 22.7%)
CIE-LABlab(51.47, 59.66, -27.03)
CIE-LCHlch(51.47, 65.50, 335.62°)
OKLaboklab(60.64% 0.1752 -0.0732)
OKLCHoklch(60.64% 0.19 337.3)
XYZxyz(32.7309, 19.6729, 40.0958)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54AAA #4AC565
analogous
#A24AC5 #C54AAA #C54A6C
triadic
#C54AAA #AAC54A #4AAAC5
tetradic
#C54AAA #C5A24A #4AC565 #4A6CC5
square
#C54AAA #C5A24A #4AC565 #4A6CC5
split-complementary
#C54AAA #6CC54A #4AC5A2
monochromatic
#712460 #9F3387 #C54AAA #D478C0 #E3A7D6

Accessibility & contrast

On white

4.26
#C54AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C54AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54AAA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54AAA#FFFFFF#000000##000000
##C54AAA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAD
Deuteranopia (green-blind)
#7382A7
Tritanopia (blue-blind)
#CF5073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54aaa;
/* rgb */ color: rgb(197, 74, 170);
/* oklch */ color: oklch(60.6% 0.190 337.3);
Tailwind
colors: {
  custom: {
    50: '#da84c3',
    500: '#c54aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c54aaa;
$custom-light: #da84c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c54aaa",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 313.171,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60641,
    "c": 0.18989,
    "h": 337.3
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#C54AAA
secondary
#9BD0A7
accent
#DB6C4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C54AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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