#C54CA2#C54CA2

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

Color values

HEX#C54CA2
RGBrgb(197, 76, 162)
HSLhsl(317, 51%, 54%)
HSVhsv(317, 61%, 77%)
CMYKcmyk(0%, 61.4%, 17.8%, 22.7%)
CIE-LABlab(51.44, 57.63, -22.37)
CIE-LCHlch(51.44, 61.82, 338.78°)
OKLaboklab(60.51% 0.1712 -0.0601)
OKLCHoklch(60.51% 0.181 340.7)
XYZxyz(32.1327, 19.6507, 36.2760)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54CA2 #4CC56F
analogous
#AB4CC5 #C54CA2 #C54C65
triadic
#C54CA2 #A2C54C #4CA2C5
tetradic
#C54CA2 #C5AB4C #4CC56F #4C65C5
square
#C54CA2 #C5AB4C #4CC56F #4C65C5
split-complementary
#C54CA2 #65C54C #4CC5AB
monochromatic
#72255C #A03481 #C54CA2 #D47ABA #E3A8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C54CA2#FFFFFF#000000##000000
##C54CA21.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)
#536EA5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#D04E70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ca2;
/* rgb */ color: rgb(197, 76, 162);
/* oklch */ color: oklch(60.5% 0.181 340.7);
Tailwind
colors: {
  custom: {
    50: '#da85bd',
    500: '#c54ca2',
    950: '#000000',
  },
}
SCSS
$custom: #c54ca2;
$custom-light: #da85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ca2",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 317.355,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60513,
    "c": 0.18143,
    "h": 340.7
  },
  "luminance": 0.19648
}

Semantic roles & 50–950 ramp

primary
#C54CA2
secondary
#9CD0AB
accent
#DB764D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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