#5C134C#5C134C

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

Color values

HEX#5C134C
RGBrgb(92, 19, 76)
HSLhsl(313, 66%, 22%)
HSVhsv(313, 79%, 36%)
CMYKcmyk(0%, 79.3%, 17.4%, 63.9%)
CIE-LABlab(21.07, 38.76, -16.79)
CIE-LCHlch(21.07, 42.24, 336.59°)
OKLaboklab(33.59% 0.1149 -0.0455)
OKLCHoklch(33.59% 0.124 338.4)
XYZxyz(5.9511, 3.2634, 7.1526)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C134C #135C23
analogous
#48135C #5C134C #5C1328
triadic
#5C134C #4C5C13 #134C5C
tetradic
#5C134C #5C4813 #135C23 #13285C
square
#5C134C #5C4813 #135C23 #13285C
split-complementary
#5C134C #285C13 #135C48
monochromatic
#190515 #290922 #5C134C #8F1D76 #C128A0

Accessibility & contrast

On white

12.71
#5C134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C134C
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C134C#FFFFFF#000000##FFFFFF
##5C134C1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4E
Deuteranopia (green-blind)
#2F374A
Tritanopia (blue-blind)
#62172E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c134c;
/* rgb */ color: rgb(92, 19, 76);
/* oklch */ color: oklch(33.6% 0.124 338.4);
Tailwind
colors: {
  custom: {
    50: '#8d597e',
    500: '#5c134c',
    950: '#000000',
  },
}
SCSS
$custom: #5c134c;
$custom-light: #8d597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c134c",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 313.151,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.12356,
    "h": 338.4
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#5C134C
secondary
#37944B
accent
#E9643F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C134C

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

Preview Lab → · Contrast checker → · Palette generator →

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