#5B1027#5B1027

#5B1027 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 8.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5B1027
RGBrgb(91, 16, 39)
HSLhsl(342, 70%, 21%)
HSVhsv(342, 82%, 36%)
CMYKcmyk(0%, 82.4%, 57.1%, 64.3%)
CIE-LABlab(18.98, 34.89, 5.90)
CIE-LCHlch(18.98, 35.39, 9.60°)
OKLaboklab(31.54% 0.1062 0.0151)
OKLCHoklch(31.54% 0.107 8.1)
XYZxyz(4.8663, 2.7419, 2.1921)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1027 #105B44
analogous
#5B104C #5B1027 #5B1E10
triadic
#5B1027 #275B10 #10275B
tetradic
#5B1027 #4C5B10 #105B44 #1E105B
square
#5B1027 #4C5B10 #105B44 #1E105B
split-complementary
#5B1027 #105B1E #104C5B
monochromatic
#1A050B #270711 #5B1027 #8F193D #C32254

Accessibility & contrast

On white

13.56
#5B1027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1027
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1027#FFFFFF#000000##FFFFFF
##5B10271.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242427
Deuteranopia (green-blind)
#373425
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1027;
/* rgb */ color: rgb(91, 16, 39);
/* oklch */ color: oklch(31.5% 0.107 8.1);
Tailwind
colors: {
  custom: {
    50: '#8e5660',
    500: '#5b1027',
    950: '#000000',
  },
}
SCSS
$custom: #5b1027;
$custom-light: #8e5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1027",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 39
  },
  "hsl": {
    "h": 341.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31538,
    "c": 0.1073,
    "h": 8.1
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#5B1027
secondary
#339476
accent
#EDB63B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B1027

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

Preview Lab → · Contrast checker → · Palette generator →

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