#C54797#C54797

#C54797 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.181 H 345.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C54797
RGBrgb(197, 71, 151)
HSLhsl(322, 52%, 53%)
HSVhsv(322, 64%, 77%)
CMYKcmyk(0%, 64%, 23.4%, 22.7%)
CIE-LABlab(50.23, 58.19, -17.72)
CIE-LCHlch(50.23, 60.83, 343.07°)
OKLaboklab(59.48% 0.1752 -0.047)
OKLCHoklch(59.48% 0.181 345)
XYZxyz(30.8662, 18.6142, 31.2395)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54797 #47C575
analogous
#B447C5 #C54797 #C54758
triadic
#C54797 #97C547 #4797C5
tetradic
#C54797 #C5B447 #47C575 #4758C5
square
#C54797 #C5B447 #47C575 #4758C5
split-complementary
#C54797 #58C547 #47C5B4
monochromatic
#6F2353 #9D3276 #C54797 #D476B1 #E2A4CC

Accessibility & contrast

On white

4.45
#C54797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C54797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54797
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54797#FFFFFF#000000##000000
##C547971.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#D14669
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c54797;
/* rgb */ color: rgb(197, 71, 151);
/* oklch */ color: oklch(59.5% 0.181 345.0);
Tailwind
colors: {
  custom: {
    50: '#da82b5',
    500: '#c54797',
    950: '#000000',
  },
}
SCSS
$custom: #c54797;
$custom-light: #da82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54797",
  "rgb": {
    "r": 197,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 321.905,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.18141,
    "h": 345
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#C54797
secondary
#99CFAD
accent
#DC814C
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C54797

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

Preview Lab → · Contrast checker → · Palette generator →

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