#5B1028#5B1028

#5B1028 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.108 H 7.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#5B1028
RGBrgb(91, 16, 40)
HSLhsl(341, 70%, 21%)
HSVhsv(341, 82%, 36%)
CMYKcmyk(0%, 82.4%, 56%, 64.3%)
CIE-LABlab(19.01, 34.98, 5.23)
CIE-LCHlch(19.01, 35.37, 8.50°)
OKLaboklab(31.57% 0.1067 0.0135)
OKLCHoklch(31.57% 0.108 7.2)
XYZxyz(4.8831, 2.7486, 2.2805)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1028 #105B43
analogous
#5B104D #5B1028 #5B1D10
triadic
#5B1028 #285B10 #10285B
tetradic
#5B1028 #4D5B10 #105B43 #1D105B
square
#5B1028 #4D5B10 #105B43 #1D105B
split-complementary
#5B1028 #105B1D #104D5B
monochromatic
#1A050B #270711 #5B1028 #8F193F #C32256

Accessibility & contrast

On white

13.55
#5B1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1028
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1028#FFFFFF#000000##FFFFFF
##5B10281.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1028;
/* rgb */ color: rgb(91, 16, 40);
/* oklch */ color: oklch(31.6% 0.108 7.2);
Tailwind
colors: {
  custom: {
    50: '#8e5661',
    500: '#5b1028',
    950: '#000000',
  },
}
SCSS
$custom: #5b1028;
$custom-light: #8e5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1028",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 340.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31569,
    "c": 0.10751,
    "h": 7.2
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#5B1028
secondary
#339475
accent
#EDB43B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B1028

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

Preview Lab → · Contrast checker → · Palette generator →

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