#5B0E23#5B0E23

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

Color values

HEX#5B0E23
RGBrgb(91, 14, 35)
HSLhsl(344, 73%, 21%)
HSVhsv(344, 85%, 36%)
CMYKcmyk(0%, 84.6%, 61.5%, 64.3%)
CIE-LABlab(18.63, 35.24, 8.27)
CIE-LCHlch(18.63, 36.19, 13.21°)
OKLaboklab(31.25% 0.1067 0.0207)
OKLCHoklch(31.25% 0.109 11)
XYZxyz(4.7753, 2.6603, 1.8518)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E23 #0E5B46
analogous
#5B0E49 #5B0E23 #5B1F0E
triadic
#5B0E23 #235B0E #0E235B
tetradic
#5B0E23 #495B0E #0E5B46 #1F0E5B
square
#5B0E23 #495B0E #0E5B46 #1F0E5B
split-complementary
#5B0E23 #0E5B1F #0E495B
monochromatic
#1B040A #26060F #5B0E23 #901637 #C51E4C

Accessibility & contrast

On white

13.71
#5B0E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E23
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E23#FFFFFF#000000##FFFFFF
##5B0E231.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232323
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#640017
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0e23;
/* rgb */ color: rgb(91, 14, 35);
/* oklch */ color: oklch(31.2% 0.109 11.0);
Tailwind
colors: {
  custom: {
    50: '#8f565d',
    500: '#5b0e23',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e23;
$custom-light: #8f565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e23",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 343.636,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.10868,
    "h": 11
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#5B0E23
secondary
#309579
accent
#F0BE38
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0E23

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

Preview Lab → · Contrast checker → · Palette generator →

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