#5B0D28#5B0D28

#5B0D28 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.111 H 6.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#5B0D28
RGBrgb(91, 13, 40)
HSLhsl(339, 75%, 20%)
HSVhsv(339, 86%, 36%)
CMYKcmyk(0%, 85.7%, 56%, 64.3%)
CIE-LABlab(18.65, 35.98, 4.73)
CIE-LCHlch(18.65, 36.29, 7.49°)
OKLaboklab(31.31% 0.1099 0.0123)
OKLCHoklch(31.31% 0.111 6.4)
XYZxyz(4.8418, 2.6659, 2.2667)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D28 #0D5B40
analogous
#5B0D4F #5B0D28 #5B190D
triadic
#5B0D28 #285B0D #0D285B
tetradic
#5B0D28 #4F5B0D #0D5B40 #190D5B
square
#5B0D28 #4F5B0D #0D5B40 #190D5B
split-complementary
#5B0D28 #0D5B19 #0D4F5B
monochromatic
#1B040C #250510 #5B0D28 #911540 #C61C57

Accessibility & contrast

On white

13.70
#5B0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0D28
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D28#FFFFFF#000000##FFFFFF
##5B0D281.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222429
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#640019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0d28;
/* rgb */ color: rgb(91, 13, 40);
/* oklch */ color: oklch(31.3% 0.111 6.4);
Tailwind
colors: {
  custom: {
    50: '#8e5561',
    500: '#5b0d28',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d28;
$custom-light: #8e5561;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d28",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 339.231,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31307,
    "c": 0.11057,
    "h": 6.4
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#5B0D28
secondary
#2F9572
accent
#F2B136
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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