#5B1A2F#5B1A2F

#5B1A2F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.097 H 4.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5B1A2F
RGBrgb(91, 26, 47)
HSLhsl(341, 56%, 23%)
HSVhsv(341, 71%, 36%)
CMYKcmyk(0%, 71.4%, 48.4%, 64.3%)
CIE-LABlab(20.71, 31.56, 2.70)
CIE-LCHlch(20.71, 31.67, 4.90°)
OKLaboklab(32.9% 0.0964 0.0073)
OKLCHoklch(32.9% 0.097 4.3)
XYZxyz(5.1973, 3.1688, 3.0267)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1A2F #1A5B46
analogous
#5B1A4F #5B1A2F #5B251A
triadic
#5B1A2F #2F5B1A #1A2F5B
tetradic
#5B1A2F #4F5B1A #1A5B46 #251A5B
square
#5B1A2F #4F5B1A #1A5B46 #251A5B
split-complementary
#5B1A2F #1A5B25 #1A4F5B
monochromatic
#18070C #2B0C16 #5B1A2F #8B2848 #BA3560

Accessibility & contrast

On white

12.86
#5B1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B1A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1A2F
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1A2F#FFFFFF#000000##FFFFFF
##5B1A2F1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#631122
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1a2f;
/* rgb */ color: rgb(91, 26, 47);
/* oklch */ color: oklch(32.9% 0.097 4.3);
Tailwind
colors: {
  custom: {
    50: '#8d5b67',
    500: '#5b1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #5b1a2f;
$custom-light: #8d5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1a2f",
  "rgb": {
    "r": 91,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 340.615,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.09664,
    "h": 4.3
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5B1A2F
secondary
#409177
accent
#DFAE49
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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