#C54FAF#C54FAF

#C54FAF is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.186 H 335.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C54FAF
RGBrgb(197, 79, 175)
HSLhsl(311, 50%, 54%)
HSVhsv(311, 60%, 77%)
CMYKcmyk(0%, 59.9%, 11.2%, 22.7%)
CIE-LABlab(52.46, 58.29, -28.41)
CIE-LCHlch(52.46, 64.85, 334.02°)
OKLaboklab(61.44% 0.1697 -0.0772)
OKLCHoklch(61.44% 0.186 335.5)
XYZxyz(33.5601, 20.5601, 42.7501)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54FAF #4FC565
analogous
#A04FC5 #C54FAF #C54F74
triadic
#C54FAF #AFC54F #4FAFC5
tetradic
#C54FAF #C5A04F #4FC565 #4F74C5
square
#C54FAF #C5A04F #4FC565 #4F74C5
split-complementary
#C54FAF #74C54F #4FC5A0
monochromatic
#742665 #A2358D #C54FAF #D47DC4 #E3ABD9

Accessibility & contrast

On white

4.11
#C54FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C54FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54FAF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54FAF#FFFFFF#000000##000000
##C54FAF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#CE5678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c54faf;
/* rgb */ color: rgb(197, 79, 175);
/* oklch */ color: oklch(61.4% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#d987c7',
    500: '#c54faf',
    950: '#000000',
  },
}
SCSS
$custom: #c54faf;
$custom-light: #d987c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c54faf",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 311.186,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.18642,
    "h": 335.5
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#C54FAF
secondary
#9FD1A8
accent
#DA684E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C54FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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