#5B0E48#5B0E48

#5B0E48 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.126 H 340.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5B0E48
RGBrgb(91, 14, 72)
HSLhsl(315, 73%, 21%)
HSVhsv(315, 85%, 36%)
CMYKcmyk(0%, 84.6%, 20.9%, 64.3%)
CIE-LABlab(20.07, 39.56, -15.62)
CIE-LCHlch(20.07, 42.53, 338.45°)
OKLaboklab(32.77% 0.1184 -0.0422)
OKLCHoklch(32.77% 0.126 340.4)
XYZxyz(5.6413, 3.0067, 6.4129)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E48 #0E5B21
analogous
#470E5B #5B0E48 #5B0E21
triadic
#5B0E48 #485B0E #0E485B
tetradic
#5B0E48 #5B470E #0E5B21 #0E215B
square
#5B0E48 #5B470E #0E5B21 #0E215B
split-complementary
#5B0E48 #215B0E #0E5B47
monochromatic
#1B0415 #26061E #5B0E48 #901672 #C51E9C

Accessibility & contrast

On white

13.12
#5B0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E48
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E48#FFFFFF#000000##FFFFFF
##5B0E481.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294A
Deuteranopia (green-blind)
#2E3546
Tritanopia (blue-blind)
#61112A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0e48;
/* rgb */ color: rgb(91, 14, 72);
/* oklch */ color: oklch(32.8% 0.126 340.4);
Tailwind
colors: {
  custom: {
    50: '#8d577b',
    500: '#5b0e48',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e48;
$custom-light: #8d577b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e48",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 314.805,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32767,
    "c": 0.12565,
    "h": 340.4
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#5B0E48
secondary
#309549
accent
#F06538
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5B0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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