#5B1023#5B1023

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

Color values

HEX#5B1023
RGBrgb(91, 16, 35)
HSLhsl(345, 70%, 21%)
HSVhsv(345, 82%, 36%)
CMYKcmyk(0%, 82.4%, 61.5%, 64.3%)
CIE-LABlab(18.87, 34.55, 8.60)
CIE-LCHlch(18.87, 35.60, 13.98°)
OKLaboklab(31.42% 0.1045 0.0215)
OKLCHoklch(31.42% 0.107 11.6)
XYZxyz(4.8035, 2.7168, 1.8612)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1023 #105B48
analogous
#5B1048 #5B1023 #5B2210
triadic
#5B1023 #235B10 #10235B
tetradic
#5B1023 #485B10 #105B48 #22105B
square
#5B1023 #485B10 #105B48 #22105B
split-complementary
#5B1023 #105B22 #10485B
monochromatic
#1A050A #27070F #5B1023 #8F1937 #C3224B

Accessibility & contrast

On white

13.61
#5B1023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1023
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1023#FFFFFF#000000##FFFFFF
##5B10231.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242423
Deuteranopia (green-blind)
#383321
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1023;
/* rgb */ color: rgb(91, 16, 35);
/* oklch */ color: oklch(31.4% 0.107 11.6);
Tailwind
colors: {
  custom: {
    50: '#8f565d',
    500: '#5b1023',
    950: '#000000',
  },
}
SCSS
$custom: #5b1023;
$custom-light: #8f565d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1023",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 344.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31424,
    "c": 0.10667,
    "h": 11.6
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#5B1023
secondary
#33947B
accent
#EDC03B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1023

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

Preview Lab → · Contrast checker → · Palette generator →

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