#C54F97#C54F97

#C54F97 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.170 H 345.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C54F97
RGBrgb(197, 79, 151)
HSLhsl(323, 50%, 54%)
HSVhsv(323, 60%, 77%)
CMYKcmyk(0%, 59.9%, 23.4%, 22.7%)
CIE-LABlab(51.50, 54.75, -15.79)
CIE-LCHlch(51.50, 56.98, 343.91°)
OKLaboklab(60.41% 0.1647 -0.0418)
OKLCHoklch(60.41% 0.17 345.8)
XYZxyz(31.4089, 19.6996, 31.4204)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54F97 #4FC57D
analogous
#B84FC5 #C54F97 #C54F5C
triadic
#C54F97 #97C54F #4F97C5
tetradic
#C54F97 #C5B84F #4FC57D #4F5CC5
square
#C54F97 #C5B84F #4FC57D #4F5CC5
split-complementary
#C54F97 #5CC54F #4FC5B8
monochromatic
#742655 #A23577 #C54F97 #D47DB2 #E3ABCD

Accessibility & contrast

On white

4.25
#C54F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C54F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54F97
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54F97#FFFFFF#000000##000000
##C54F971.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6E99
Deuteranopia (green-blind)
#7C8294
Tritanopia (blue-blind)
#D14D6C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c54f97;
/* rgb */ color: rgb(197, 79, 151);
/* oklch */ color: oklch(60.4% 0.170 345.8);
Tailwind
colors: {
  custom: {
    50: '#da86b5',
    500: '#c54f97',
    950: '#000000',
  },
}
SCSS
$custom: #c54f97;
$custom-light: #da86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54f97",
  "rgb": {
    "r": 197,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 323.39,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.16992,
    "h": 345.8
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#C54F97
secondary
#9FD1B2
accent
#DA844E
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C54F97

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

Preview Lab → · Contrast checker → · Palette generator →

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