#C54CA8#C54CA8

#C54CA8 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.8% C 0.186 H 338.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C54CA8
RGBrgb(197, 76, 168)
HSLhsl(314, 51%, 54%)
HSVhsv(314, 61%, 77%)
CMYKcmyk(0%, 61.4%, 14.7%, 22.7%)
CIE-LABlab(51.69, 58.52, -25.52)
CIE-LCHlch(51.69, 63.84, 336.44°)
OKLaboklab(60.78% 0.1723 -0.0689)
OKLCHoklch(60.78% 0.186 338.2)
XYZxyz(32.6788, 19.8691, 39.1522)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CA8 #4CC569
analogous
#A54CC5 #C54CA8 #C54C6B
triadic
#C54CA8 #A8C54C #4CA8C5
tetradic
#C54CA8 #C5A54C #4CC569 #4C6BC5
square
#C54CA8 #C5A54C #4CC569 #4C6BC5
split-complementary
#C54CA8 #6BC54C #4CC5A5
monochromatic
#72255F #A03486 #C54CA8 #D47ABE #E3A8D5

Accessibility & contrast

On white

4.22
#C54CA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C54CA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54CA8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54CA8#FFFFFF#000000##000000
##C54CA81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#CF5173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ca8;
/* rgb */ color: rgb(197, 76, 168);
/* oklch */ color: oklch(60.8% 0.186 338.2);
Tailwind
colors: {
  custom: {
    50: '#da85c2',
    500: '#c54ca8',
    950: '#000000',
  },
}
SCSS
$custom: #c54ca8;
$custom-light: #da85c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ca8",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 314.38,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.18561,
    "h": 338.2
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#C54CA8
secondary
#9CD0A9
accent
#DB6F4D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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