#5B0E4C#5B0E4C

#5B0E4C is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.129 H 337.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5B0E4C
RGBrgb(91, 14, 76)
HSLhsl(312, 73%, 21%)
HSVhsv(312, 85%, 36%)
CMYKcmyk(0%, 84.6%, 16.5%, 64.3%)
CIE-LABlab(20.29, 40.18, -18.03)
CIE-LCHlch(20.29, 44.04, 335.84°)
OKLaboklab(32.99% 0.1188 -0.049)
OKLCHoklch(32.99% 0.129 337.6)
XYZxyz(5.7761, 3.0606, 7.1226)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E4C #0E5B1D
analogous
#430E5B #5B0E4C #5B0E26
triadic
#5B0E4C #4C5B0E #0E4C5B
tetradic
#5B0E4C #5B430E #0E5B1D #0E265B
square
#5B0E4C #5B430E #0E5B1D #0E265B
split-complementary
#5B0E4C #265B0E #0E5B43
monochromatic
#1B0416 #260620 #5B0E4C #901678 #C51EA5

Accessibility & contrast

On white

13.03
#5B0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B0E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E4C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E4C#FFFFFF#000000##FFFFFF
##5B0E4C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294E
Deuteranopia (green-blind)
#2D354A
Tritanopia (blue-blind)
#60132C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b0e4c;
/* rgb */ color: rgb(91, 14, 76);
/* oklch */ color: oklch(33.0% 0.129 337.6);
Tailwind
colors: {
  custom: {
    50: '#8c577e',
    500: '#5b0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e4c;
$custom-light: #8c577e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e4c",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 311.688,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.12856,
    "h": 337.6
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#5B0E4C
secondary
#309544
accent
#F05C38
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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