#5B122B#5B122B

#5B122B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.106 H 5.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5B122B
RGBrgb(91, 18, 43)
HSLhsl(339, 67%, 21%)
HSVhsv(339, 80%, 36%)
CMYKcmyk(0%, 80.2%, 52.7%, 64.3%)
CIE-LABlab(19.36, 34.53, 3.59)
CIE-LCHlch(19.36, 34.72, 5.94°)
OKLaboklab(31.86% 0.1056 0.0095)
OKLCHoklch(31.86% 0.106 5.1)
XYZxyz(4.9672, 2.8319, 2.5701)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B122B #125B42
analogous
#5B1250 #5B122B #5B1E12
triadic
#5B122B #2B5B12 #122B5B
tetradic
#5B122B #505B12 #125B42 #1E125B
square
#5B122B #505B12 #125B42 #1E125B
split-complementary
#5B122B #125B1E #12505B
monochromatic
#1A050C #280813 #5B122B #8E1C43 #C1265B

Accessibility & contrast

On white

13.41
#5B122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B122B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B122B#FFFFFF#000000##FFFFFF
##5B122B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#64031D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b122b;
/* rgb */ color: rgb(91, 18, 43);
/* oklch */ color: oklch(31.9% 0.106 5.1);
Tailwind
colors: {
  custom: {
    50: '#8e5764',
    500: '#5b122b',
    950: '#000000',
  },
}
SCSS
$custom: #5b122b;
$custom-light: #8e5764;
$custom-dark: #000000;
JSON
{
  "hex": "#5b122b",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 339.452,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31856,
    "c": 0.10599,
    "h": 5.1
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#5B122B
secondary
#359373
accent
#EAAF3E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B122B

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

Preview Lab → · Contrast checker → · Palette generator →

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