#5B123A#5B123A

#5B123A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.112 H 351.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5B123A
RGBrgb(91, 18, 58)
HSLhsl(327, 67%, 21%)
HSVhsv(327, 80%, 36%)
CMYKcmyk(0%, 80.2%, 36.3%, 64.3%)
CIE-LABlab(19.89, 36.24, -6.20)
CIE-LCHlch(19.89, 36.77, 350.30°)
OKLaboklab(32.43% 0.111 -0.016)
OKLCHoklch(32.43% 0.112 351.8)
XYZxyz(5.2947, 2.9629, 4.2952)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B123A #125B33
analogous
#58125B #5B123A #5B1216
triadic
#5B123A #3A5B12 #123A5B
tetradic
#5B123A #5B5812 #125B33 #12165B
square
#5B123A #5B5812 #125B33 #12165B
split-complementary
#5B123A #165B12 #125B58
monochromatic
#1A0510 #280819 #5B123A #8E1C5B #C1267B

Accessibility & contrast

On white

13.19
#5B123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B123A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B123A#FFFFFF#000000##FFFFFF
##5B123A1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#620C24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b123a;
/* rgb */ color: rgb(91, 18, 58);
/* oklch */ color: oklch(32.4% 0.112 351.8);
Tailwind
colors: {
  custom: {
    50: '#8d5870',
    500: '#5b123a',
    950: '#000000',
  },
}
SCSS
$custom: #5b123a;
$custom-light: #8d5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5b123a",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 327.123,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32426,
    "c": 0.11215,
    "h": 351.8
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#5B123A
secondary
#359360
accent
#EA8C3E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B123A

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

Preview Lab → · Contrast checker → · Palette generator →

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