#5B0E28#5B0E28

#5B0E28 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.110 H 6.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5B0E28
RGBrgb(91, 14, 40)
HSLhsl(340, 73%, 21%)
HSVhsv(340, 85%, 36%)
CMYKcmyk(0%, 84.6%, 56%, 64.3%)
CIE-LABlab(18.77, 35.66, 4.89)
CIE-LCHlch(18.77, 36.00, 7.80°)
OKLaboklab(31.39% 0.1089 0.0127)
OKLCHoklch(31.39% 0.11 6.6)
XYZxyz(4.8549, 2.6921, 2.2711)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E28 #0E5B41
analogous
#5B0E4E #5B0E28 #5B1A0E
triadic
#5B0E28 #285B0E #0E285B
tetradic
#5B0E28 #4E5B0E #0E5B41 #1A0E5B
square
#5B0E28 #4E5B0E #0E5B41 #1A0E5B
split-complementary
#5B0E28 #0E5B1A #0E4E5B
monochromatic
#1B040C #260611 #5B0E28 #90163F #C51E57

Accessibility & contrast

On white

13.65
#5B0E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B0E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E28
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E28#FFFFFF#000000##FFFFFF
##5B0E281.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0e28;
/* rgb */ color: rgb(91, 14, 40);
/* oklch */ color: oklch(31.4% 0.110 6.6);
Tailwind
colors: {
  custom: {
    50: '#8e5661',
    500: '#5b0e28',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e28;
$custom-light: #8e5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e28",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 339.74,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.10959,
    "h": 6.6
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#5B0E28
secondary
#309573
accent
#F0B238
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0E28

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

Preview Lab → · Contrast checker → · Palette generator →

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