#5B0E27#5B0E27

#5B0E27 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.109 H 7.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#5B0E27
RGBrgb(91, 14, 39)
HSLhsl(341, 73%, 21%)
HSVhsv(341, 85%, 36%)
CMYKcmyk(0%, 84.6%, 57.1%, 64.3%)
CIE-LABlab(18.74, 35.57, 5.56)
CIE-LCHlch(18.74, 36.01, 8.89°)
OKLaboklab(31.36% 0.1084 0.0143)
OKLCHoklch(31.36% 0.109 7.5)
XYZxyz(4.8381, 2.6854, 2.1826)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E27 #0E5B42
analogous
#5B0E4D #5B0E27 #5B1B0E
triadic
#5B0E27 #275B0E #0E275B
tetradic
#5B0E27 #4D5B0E #0E5B42 #1B0E5B
square
#5B0E27 #4D5B0E #0E5B42 #1B0E5B
split-complementary
#5B0E27 #0E5B1B #0E4D5B
monochromatic
#1B040B #260610 #5B0E27 #90163E #C51E54

Accessibility & contrast

On white

13.66
#5B0E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E27
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E27#FFFFFF#000000##FFFFFF
##5B0E271.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222427
Deuteranopia (green-blind)
#373325
Tritanopia (blue-blind)
#640019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e27;
/* rgb */ color: rgb(91, 14, 39);
/* oklch */ color: oklch(31.4% 0.109 7.5);
Tailwind
colors: {
  custom: {
    50: '#8e5660',
    500: '#5b0e27',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e27;
$custom-light: #8e5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e27",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 340.519,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.10937,
    "h": 7.5
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#5B0E27
secondary
#309574
accent
#F0B438
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0E27

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

Preview Lab → · Contrast checker → · Palette generator →

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