#5B123E#5B123E

#5B123E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.114 H 348.4°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5B123E
RGBrgb(91, 18, 62)
HSLhsl(324, 67%, 21%)
HSVhsv(324, 80%, 36%)
CMYKcmyk(0%, 80.2%, 31.9%, 64.3%)
CIE-LABlab(20.06, 36.77, -8.73)
CIE-LCHlch(20.06, 37.79, 346.65°)
OKLaboklab(32.61% 0.1121 -0.0229)
OKLCHoklch(32.61% 0.114 348.4)
XYZxyz(5.4005, 3.0052, 4.8521)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B123E #125B2F
analogous
#54125B #5B123E #5B121A
triadic
#5B123E #3E5B12 #123E5B
tetradic
#5B123E #5B5412 #125B2F #121A5B
square
#5B123E #5B5412 #125B2F #121A5B
split-complementary
#5B123E #1A5B12 #125B54
monochromatic
#1A0511 #28081B #5B123E #8E1C61 #C12684

Accessibility & contrast

On white

13.12
#5B123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B123E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B123E#FFFFFF#000000##FFFFFF
##5B123E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#33353C
Tritanopia (blue-blind)
#620E26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b123e;
/* rgb */ color: rgb(91, 18, 62);
/* oklch */ color: oklch(32.6% 0.114 348.4);
Tailwind
colors: {
  custom: {
    50: '#8d5873',
    500: '#5b123e',
    950: '#000000',
  },
}
SCSS
$custom: #5b123e;
$custom-light: #8d5873;
$custom-dark: #000000;
JSON
{
  "hex": "#5b123e",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 323.836,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.11445,
    "h": 348.4
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#5B123E
secondary
#35935B
accent
#EA823E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B123E

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

Preview Lab → · Contrast checker → · Palette generator →

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