#5B0E2A#5B0E2A

#5B0E2A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.110 H 4.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#5B0E2A
RGBrgb(91, 14, 42)
HSLhsl(338, 73%, 21%)
HSVhsv(338, 85%, 36%)
CMYKcmyk(0%, 84.6%, 53.8%, 64.3%)
CIE-LABlab(18.83, 35.85, 3.54)
CIE-LCHlch(18.83, 36.02, 5.65°)
OKLaboklab(31.46% 0.1097 0.0094)
OKLCHoklch(31.46% 0.11 4.9)
XYZxyz(4.8898, 2.7061, 2.4549)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E2A #0E5B3F
analogous
#5B0E50 #5B0E2A #5B190E
triadic
#5B0E2A #2A5B0E #0E2A5B
tetradic
#5B0E2A #505B0E #0E5B3F #190E5B
square
#5B0E2A #505B0E #0E5B3F #190E5B
split-complementary
#5B0E2A #0E5B19 #0E505B
monochromatic
#1B040C #260612 #5B0E2A #901642 #C51E5B

Accessibility & contrast

On white

13.63
#5B0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B0E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E2A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E2A#FFFFFF#000000##FFFFFF
##5B0E2A1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e2a;
/* rgb */ color: rgb(91, 14, 42);
/* oklch */ color: oklch(31.5% 0.110 4.9);
Tailwind
colors: {
  custom: {
    50: '#8e5663',
    500: '#5b0e2a',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e2a;
$custom-light: #8e5663;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e2a",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 338.182,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31455,
    "c": 0.11009,
    "h": 4.9
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#5B0E2A
secondary
#309570
accent
#F0AD38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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