#5B0E2F#5B0E2F

#5B0E2F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.112 H 0.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5B0E2F
RGBrgb(91, 14, 47)
HSLhsl(334, 73%, 21%)
HSVhsv(334, 85%, 36%)
CMYKcmyk(0%, 84.6%, 48.4%, 64.3%)
CIE-LABlab(18.99, 36.35, 0.22)
CIE-LCHlch(18.99, 36.35, 0.34°)
OKLaboklab(31.63% 0.1117 0.001)
OKLCHoklch(31.63% 0.112 0.5)
XYZxyz(4.9849, 2.7441, 2.9559)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E2F #0E5B3A
analogous
#5B0E55 #5B0E2F #5B140E
triadic
#5B0E2F #2F5B0E #0E2F5B
tetradic
#5B0E2F #555B0E #0E5B3A #140E5B
square
#5B0E2F #555B0E #0E5B3A #140E5B
split-complementary
#5B0E2F #0E5B14 #0E555B
monochromatic
#1B040E #260614 #5B0E2F #90164A #C51E66

Accessibility & contrast

On white

13.56
#5B0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E2F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E2F#FFFFFF#000000##FFFFFF
##5B0E2F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#35332D
Tritanopia (blue-blind)
#63001D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e2f;
/* rgb */ color: rgb(91, 14, 47);
/* oklch */ color: oklch(31.6% 0.112 0.5);
Tailwind
colors: {
  custom: {
    50: '#8e5667',
    500: '#5b0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e2f;
$custom-light: #8e5667;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e2f",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 334.286,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31627,
    "c": 0.11167,
    "h": 0.5
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#5B0E2F
secondary
#30956A
accent
#F0A138
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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