#5B122E#5B122E

#5B122E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 2.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#5B122E
RGBrgb(91, 18, 46)
HSLhsl(337, 67%, 21%)
HSVhsv(337, 80%, 36%)
CMYKcmyk(0%, 80.2%, 49.5%, 64.3%)
CIE-LABlab(19.45, 34.84, 1.60)
CIE-LCHlch(19.45, 34.87, 2.63°)
OKLaboklab(31.96% 0.1068 0.0045)
OKLCHoklch(31.96% 0.107 2.4)
XYZxyz(5.0242, 2.8547, 2.8707)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B122E #125B3F
analogous
#5B1253 #5B122E #5B1B12
triadic
#5B122E #2E5B12 #122E5B
tetradic
#5B122E #535B12 #125B3F #1B125B
square
#5B122E #535B12 #125B3F #1B125B
split-complementary
#5B122E #125B1B #12535B
monochromatic
#1A050D #280814 #5B122E #8E1C48 #C12662

Accessibility & contrast

On white

13.37
#5B122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B122E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B122E#FFFFFF#000000##FFFFFF
##5B122E1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#63051E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b122e;
/* rgb */ color: rgb(91, 18, 46);
/* oklch */ color: oklch(32.0% 0.107 2.4);
Tailwind
colors: {
  custom: {
    50: '#8e5866',
    500: '#5b122e',
    950: '#000000',
  },
}
SCSS
$custom: #5b122e;
$custom-light: #8e5866;
$custom-dark: #000000;
JSON
{
  "hex": "#5b122e",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 336.986,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31957,
    "c": 0.10687,
    "h": 2.4
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#5B122E
secondary
#35936F
accent
#EAA83E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B122E

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

Preview Lab → · Contrast checker → · Palette generator →

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