#5B122F#5B122F

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

Color values

HEX#5B122F
RGBrgb(91, 18, 47)
HSLhsl(336, 67%, 21%)
HSVhsv(336, 80%, 36%)
CMYKcmyk(0%, 80.2%, 48.4%, 64.3%)
CIE-LABlab(19.49, 34.94, 0.94)
CIE-LCHlch(19.49, 34.96, 1.54°)
OKLaboklab(31.99% 0.1072 0.0028)
OKLCHoklch(31.99% 0.107 1.5)
XYZxyz(5.0442, 2.8627, 2.9757)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B122F #125B3E
analogous
#5B1254 #5B122F #5B1A12
triadic
#5B122F #2F5B12 #122F5B
tetradic
#5B122F #545B12 #125B3E #1A125B
square
#5B122F #545B12 #125B3E #1A125B
split-complementary
#5B122F #125B1A #12545B
monochromatic
#1A050D #280815 #5B122F #8E1C49 #C12664

Accessibility & contrast

On white

13.36
#5B122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B122F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B122F#FFFFFF#000000##FFFFFF
##5B122F1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#63051E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b122f;
/* rgb */ color: rgb(91, 18, 47);
/* oklch */ color: oklch(32.0% 0.107 1.5);
Tailwind
colors: {
  custom: {
    50: '#8e5867',
    500: '#5b122f',
    950: '#000000',
  },
}
SCSS
$custom: #5b122f;
$custom-light: #8e5867;
$custom-dark: #000000;
JSON
{
  "hex": "#5b122f",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 336.164,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.10721,
    "h": 1.5
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#5B122F
secondary
#35936E
accent
#EAA63E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B122F

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

Preview Lab → · Contrast checker → · Palette generator →

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