#5B0F23#5B0F23

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

Color values

HEX#5B0F23
RGBrgb(91, 15, 35)
HSLhsl(344, 72%, 21%)
HSVhsv(344, 84%, 36%)
CMYKcmyk(0%, 83.5%, 61.5%, 64.3%)
CIE-LABlab(18.75, 34.90, 8.43)
CIE-LCHlch(18.75, 35.91, 13.59°)
OKLaboklab(31.33% 0.1056 0.0211)
OKLCHoklch(31.33% 0.108 11.3)
XYZxyz(4.7891, 2.6878, 1.8564)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F23 #0F5B47
analogous
#5B0F49 #5B0F23 #5B210F
triadic
#5B0F23 #235B0F #0F235B
tetradic
#5B0F23 #495B0F #0F5B47 #210F5B
square
#5B0F23 #495B0F #0F5B47 #210F5B
split-complementary
#5B0F23 #0F5B21 #0F495B
monochromatic
#1A040A #26060F #5B0F23 #901837 #C4204B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B0F23#FFFFFF#000000##FFFFFF
##5B0F231.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)
#242423
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f23;
/* rgb */ color: rgb(91, 15, 35);
/* oklch */ color: oklch(31.3% 0.108 11.3);
Tailwind
colors: {
  custom: {
    50: '#8f565d',
    500: '#5b0f23',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f23;
$custom-light: #8f565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f23",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 344.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31333,
    "c": 0.10769,
    "h": 11.3
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#5B0F23
secondary
#31957A
accent
#EEBF39
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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