#C54F8A#C54F8A

#C54F8A is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.9% C 0.163 H 352.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C54F8A
RGBrgb(197, 79, 138)
HSLhsl(330, 50%, 54%)
HSVhsv(330, 60%, 77%)
CMYKcmyk(0%, 59.9%, 29.9%, 22.7%)
CIE-LABlab(51.04, 53.03, -8.76)
CIE-LCHlch(51.04, 53.75, 350.62°)
OKLaboklab(59.92% 0.1611 -0.0226)
OKLCHoklch(59.92% 0.163 352)
XYZxyz(30.4108, 19.3003, 26.1636)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54F8A #4FC58A
analogous
#C54FC5 #C54F8A #C54F4F
triadic
#C54F8A #8AC54F #4F8AC5
tetradic
#C54F8A #C5C54F #4FC58A #4F4FC5
square
#C54F8A #C5C54F #4FC58A #4F4FC5
split-complementary
#C54F8A #4FC54F #4FC5C5
monochromatic
#74264D #A2356B #C54F8A #D47DA9 #E3ABC7

Accessibility & contrast

On white

4.32
#C54F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C54F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54F8A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54F8A#FFFFFF#000000##000000
##C54F8A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#808187
Tritanopia (blue-blind)
#D34966
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c54f8a;
/* rgb */ color: rgb(197, 79, 138);
/* oklch */ color: oklch(59.9% 0.163 352.0);
Tailwind
colors: {
  custom: {
    50: '#da86ac',
    500: '#c54f8a',
    950: '#000000',
  },
}
SCSS
$custom: #c54f8a;
$custom-light: #da86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c54f8a",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 330,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.16269,
    "h": 352
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#C54F8A
secondary
#9FD1B8
accent
#DA944E
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C54F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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