#5B0E30#5B0E30

#5B0E30 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.112 H 359.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#5B0E30
RGBrgb(91, 14, 48)
HSLhsl(334, 73%, 21%)
HSVhsv(334, 85%, 36%)
CMYKcmyk(0%, 84.6%, 47.3%, 64.3%)
CIE-LABlab(19.02, 36.45, -0.44)
CIE-LCHlch(19.02, 36.45, 359.30°)
OKLaboklab(31.66% 0.1121 -0.0007)
OKLCHoklch(31.66% 0.112 359.6)
XYZxyz(5.0053, 2.7523, 3.0634)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E30 #0E5B39
analogous
#5B0E56 #5B0E30 #5B120E
triadic
#5B0E30 #305B0E #0E305B
tetradic
#5B0E30 #565B0E #0E5B39 #120E5B
square
#5B0E30 #565B0E #0E5B39 #120E5B
split-complementary
#5B0E30 #0E5B12 #0E565B
monochromatic
#1B040E #260614 #5B0E30 #90164C #C51E68

Accessibility & contrast

On white

13.54
#5B0E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B0E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E30
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E30#FFFFFF#000000##FFFFFF
##5B0E301.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202531
Deuteranopia (green-blind)
#35332E
Tritanopia (blue-blind)
#63011D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e30;
/* rgb */ color: rgb(91, 14, 48);
/* oklch */ color: oklch(31.7% 0.112 359.6);
Tailwind
colors: {
  custom: {
    50: '#8e5668',
    500: '#5b0e30',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e30;
$custom-light: #8e5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e30",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 48
  },
  "hsl": {
    "h": 333.506,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31664,
    "c": 0.11205,
    "h": 359.6
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#5B0E30
secondary
#309568
accent
#F09F38
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0E30

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

Preview Lab → · Contrast checker → · Palette generator →

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