#5B123D#5B123D

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

Color values

HEX#5B123D
RGBrgb(91, 18, 61)
HSLhsl(325, 67%, 21%)
HSVhsv(325, 80%, 36%)
CMYKcmyk(0%, 80.2%, 33%, 64.3%)
CIE-LABlab(20.02, 36.63, -8.10)
CIE-LCHlch(20.02, 37.52, 347.54°)
OKLaboklab(32.56% 0.1119 -0.0212)
OKLCHoklch(32.56% 0.114 349.3)
XYZxyz(5.3733, 2.9943, 4.7090)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B123D #125B30
analogous
#55125B #5B123D #5B1219
triadic
#5B123D #3D5B12 #123D5B
tetradic
#5B123D #5B5512 #125B30 #12195B
square
#5B123D #5B5512 #125B30 #12195B
split-complementary
#5B123D #195B12 #125B55
monochromatic
#1A0511 #28081B #5B123D #8E1C5F #C12681

Accessibility & contrast

On white

13.13
#5B123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B123D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B123D#FFFFFF#000000##FFFFFF
##5B123D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283E
Deuteranopia (green-blind)
#33353B
Tritanopia (blue-blind)
#620E25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b123d;
/* rgb */ color: rgb(91, 18, 61);
/* oklch */ color: oklch(32.6% 0.114 349.3);
Tailwind
colors: {
  custom: {
    50: '#8d5872',
    500: '#5b123d',
    950: '#000000',
  },
}
SCSS
$custom: #5b123d;
$custom-light: #8d5872;
$custom-dark: #000000;
JSON
{
  "hex": "#5b123d",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 324.658,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.11385,
    "h": 349.3
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#5B123D
secondary
#35935C
accent
#EA853E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B123D

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

Preview Lab → · Contrast checker → · Palette generator →

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