#5C134D#5C134D

#5C134D is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.124 H 337.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5C134D
RGBrgb(92, 19, 77)
HSLhsl(312, 66%, 22%)
HSVhsv(312, 79%, 36%)
CMYKcmyk(0%, 79.3%, 16.3%, 63.9%)
CIE-LABlab(21.12, 38.92, -17.38)
CIE-LCHlch(21.12, 42.63, 335.94°)
OKLaboklab(33.65% 0.115 -0.0472)
OKLCHoklch(33.65% 0.124 337.7)
XYZxyz(5.9862, 3.2774, 7.3371)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C134D #135C22
analogous
#47135C #5C134D #5C1329
triadic
#5C134D #4D5C13 #134D5C
tetradic
#5C134D #5C4713 #135C22 #13295C
square
#5C134D #5C4713 #135C22 #13295C
split-complementary
#5C134D #295C13 #135C47
monochromatic
#190515 #290923 #5C134D #8F1D77 #C128A2

Accessibility & contrast

On white

12.69
#5C134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C134D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C134D#FFFFFF#000000##FFFFFF
##5C134D1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#2F374B
Tritanopia (blue-blind)
#61172E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c134d;
/* rgb */ color: rgb(92, 19, 77);
/* oklch */ color: oklch(33.6% 0.124 337.7);
Tailwind
colors: {
  custom: {
    50: '#8d597f',
    500: '#5c134d',
    950: '#000000',
  },
}
SCSS
$custom: #5c134d;
$custom-light: #8d597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c134d",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 312.329,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.12431,
    "h": 337.7
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#5C134D
secondary
#37944A
accent
#E9623F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C134D

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

Preview Lab → · Contrast checker → · Palette generator →

#5C134D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva