#5C134F#5C134F

#5C134F is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.126 H 336.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5C134F
RGBrgb(92, 19, 79)
HSLhsl(311, 66%, 22%)
HSVhsv(311, 79%, 36%)
CMYKcmyk(0%, 79.3%, 14.1%, 63.9%)
CIE-LABlab(21.23, 39.25, -18.57)
CIE-LCHlch(21.23, 43.42, 334.68°)
OKLaboklab(33.76% 0.1152 -0.0506)
OKLCHoklch(33.76% 0.126 336.3)
XYZxyz(6.0579, 3.3061, 7.7147)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C134F #135C20
analogous
#45135C #5C134F #5C132B
triadic
#5C134F #4F5C13 #134F5C
tetradic
#5C134F #5C4513 #135C20 #132B5C
square
#5C134F #5C4513 #135C20 #132B5C
split-complementary
#5C134F #2B5C13 #135C45
monochromatic
#190516 #290923 #5C134F #8F1D7B #C128A6

Accessibility & contrast

On white

12.64
#5C134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C134F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C134F#FFFFFF#000000##FFFFFF
##5C134F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#61182F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c134f;
/* rgb */ color: rgb(92, 19, 79);
/* oklch */ color: oklch(33.8% 0.126 336.3);
Tailwind
colors: {
  custom: {
    50: '#8d5980',
    500: '#5c134f',
    950: '#000000',
  },
}
SCSS
$custom: #5c134f;
$custom-light: #8d5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5c134f",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 310.685,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33762,
    "c": 0.12586,
    "h": 336.3
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#5C134F
secondary
#379447
accent
#E95D3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5C134F

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

Preview Lab → · Contrast checker → · Palette generator →

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