#C54EA2#C54EA2

#C54EA2 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.7% C 0.179 H 340.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C54EA2
RGBrgb(197, 78, 162)
HSLhsl(318, 51%, 54%)
HSVhsv(318, 60%, 77%)
CMYKcmyk(0%, 60.4%, 17.8%, 22.7%)
CIE-LABlab(51.76, 56.76, -21.88)
CIE-LCHlch(51.76, 60.83, 338.92°)
OKLaboklab(60.75% 0.1686 -0.0587)
OKLCHoklch(60.75% 0.179 340.8)
XYZxyz(32.2726, 19.9305, 36.3227)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54EA2 #4EC571
analogous
#AD4EC5 #C54EA2 #C54E67
triadic
#C54EA2 #A2C54E #4EA2C5
tetradic
#C54EA2 #C5AD4E #4EC571 #4E67C5
square
#C54EA2 #C5AD4E #4EC571 #4E67C5
split-complementary
#C54EA2 #67C54E #4EC5AD
monochromatic
#73265C #A13581 #C54EA2 #D47CBA #E3AAD2

Accessibility & contrast

On white

4.21
#C54EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C54EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54EA2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54EA2#FFFFFF#000000##000000
##C54EA21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D05071
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54ea2;
/* rgb */ color: rgb(197, 78, 162);
/* oklch */ color: oklch(60.7% 0.179 340.8);
Tailwind
colors: {
  custom: {
    50: '#da86bd',
    500: '#c54ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c54ea2;
$custom-light: #da86bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c54ea2",
  "rgb": {
    "r": 197,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 317.647,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60747,
    "c": 0.17851,
    "h": 340.8
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#C54EA2
secondary
#9ED1AD
accent
#DA774E
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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