#5B0E47#5B0E47

#5B0E47 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.125 H 341.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5B0E47
RGBrgb(91, 14, 71)
HSLhsl(316, 73%, 21%)
HSVhsv(316, 85%, 36%)
CMYKcmyk(0%, 84.6%, 22%, 64.3%)
CIE-LABlab(20.02, 39.41, -15.02)
CIE-LCHlch(20.02, 42.17, 339.14°)
OKLaboklab(32.71% 0.1182 -0.0405)
OKLCHoklch(32.71% 0.125 341.1)
XYZxyz(5.6089, 2.9937, 6.2425)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E47 #0E5B22
analogous
#480E5B #5B0E47 #5B0E21
triadic
#5B0E47 #475B0E #0E475B
tetradic
#5B0E47 #5B480E #0E5B22 #0E215B
square
#5B0E47 #5B480E #0E5B22 #0E215B
split-complementary
#5B0E47 #215B0E #0E5B48
monochromatic
#1B0415 #26061E #5B0E47 #901670 #C51E9A

Accessibility & contrast

On white

13.14
#5B0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E47
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E47#FFFFFF#000000##FFFFFF
##5B0E471.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152848
Deuteranopia (green-blind)
#2E3545
Tritanopia (blue-blind)
#61102A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0e47;
/* rgb */ color: rgb(91, 14, 71);
/* oklch */ color: oklch(32.7% 0.125 341.1);
Tailwind
colors: {
  custom: {
    50: '#8d577a',
    500: '#5b0e47',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e47;
$custom-light: #8d577a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e47",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 315.584,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32712,
    "c": 0.12494,
    "h": 341.1
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#5B0E47
secondary
#30954A
accent
#F06838
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0309
muted
#7D787B

Preview Lab

Preview with #5B0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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