#5B134F#5B134F

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

Color values

HEX#5B134F
RGBrgb(91, 19, 79)
HSLhsl(310, 65%, 22%)
HSVhsv(310, 79%, 36%)
CMYKcmyk(0%, 79.1%, 13.2%, 64.3%)
CIE-LABlab(21.04, 38.98, -18.89)
CIE-LCHlch(21.04, 43.32, 334.15°)
OKLaboklab(33.59% 0.1141 -0.0515)
OKLCHoklch(33.59% 0.125 335.7)
XYZxyz(5.9586, 3.2549, 7.7101)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B134F #135B1F
analogous
#43135B #5B134F #5B132B
triadic
#5B134F #4F5B13 #134F5B
tetradic
#5B134F #5B4313 #135B1F #132B5B
square
#5B134F #5B4313 #135B1F #132B5B
split-complementary
#5B134F #2B5B13 #135B43
monochromatic
#190516 #280823 #5B134F #8E1E7B #C028A7

Accessibility & contrast

On white

12.72
#5B134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B134F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B134F#FFFFFF#000000##FFFFFF
##5B134F1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b134f;
/* rgb */ color: rgb(91, 19, 79);
/* oklch */ color: oklch(33.6% 0.125 335.7);
Tailwind
colors: {
  custom: {
    50: '#8c5980',
    500: '#5b134f',
    950: '#000000',
  },
}
SCSS
$custom: #5b134f;
$custom-light: #8c5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5b134f",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 310,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.12521,
    "h": 335.7
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#5B134F
secondary
#379346
accent
#E85C3F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B134F

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

Preview Lab → · Contrast checker → · Palette generator →

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