#C54FAB#C54FAB

#C54FAB is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.183 H 337.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C54FAB
RGBrgb(197, 79, 171)
HSLhsl(313, 50%, 54%)
HSVhsv(313, 60%, 77%)
CMYKcmyk(0%, 59.9%, 13.2%, 22.7%)
CIE-LABlab(52.29, 57.67, -26.34)
CIE-LCHlch(52.29, 63.40, 335.45°)
OKLaboklab(61.26% 0.169 -0.0713)
OKLCHoklch(61.26% 0.183 337.1)
XYZxyz(33.1730, 20.4052, 40.7116)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FAB #4FC569
analogous
#A44FC5 #C54FAB #C54F70
triadic
#C54FAB #ABC54F #4FABC5
tetradic
#C54FAB #C5A44F #4FC569 #4F70C5
square
#C54FAB #C5A44F #4FC569 #4F70C5
split-complementary
#C54FAB #70C54F #4FC5A4
monochromatic
#742662 #A2358A #C54FAB #D47DC1 #E3ABD7

Accessibility & contrast

On white

4.13
#C54FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C54FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FAB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FAB#FFFFFF#000000##000000
##C54FAB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#CF5476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54fab;
/* rgb */ color: rgb(197, 79, 171);
/* oklch */ color: oklch(61.3% 0.183 337.1);
Tailwind
colors: {
  custom: {
    50: '#da87c4',
    500: '#c54fab',
    950: '#000000',
  },
}
SCSS
$custom: #c54fab;
$custom-light: #da87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c54fab",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 313.22,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61262,
    "c": 0.18344,
    "h": 337.1
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#C54FAB
secondary
#9FD1AA
accent
#DA6D4E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C54FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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