#5B0F44#5B0F44

#5B0F44 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.6% C 0.122 H 343.4°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#5B0F44
RGBrgb(91, 15, 68)
HSLhsl(318, 72%, 21%)
HSVhsv(318, 84%, 36%)
CMYKcmyk(0%, 83.5%, 25.3%, 64.3%)
CIE-LABlab(19.98, 38.65, -13.01)
CIE-LCHlch(19.98, 40.78, 341.39°)
OKLaboklab(32.63% 0.1167 -0.0348)
OKLCHoklch(32.63% 0.122 343.4)
XYZxyz(5.5288, 2.9837, 5.7525)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F44 #0F5B26
analogous
#4C0F5B #5B0F44 #5B0F1E
triadic
#5B0F44 #445B0F #0F445B
tetradic
#5B0F44 #5B4C0F #0F5B26 #0F1E5B
square
#5B0F44 #5B4C0F #0F5B26 #0F1E5B
split-complementary
#5B0F44 #1E5B0F #0F5B4C
monochromatic
#1A0414 #26061D #5B0F44 #90186B #C42093

Accessibility & contrast

On white

13.15
#5B0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B0F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F44
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F44#FFFFFF#000000##FFFFFF
##5B0F441.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#303542
Tritanopia (blue-blind)
#610F28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b0f44;
/* rgb */ color: rgb(91, 15, 68);
/* oklch */ color: oklch(32.6% 0.122 343.4);
Tailwind
colors: {
  custom: {
    50: '#8d5778',
    500: '#5b0f44',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f44;
$custom-light: #8d5778;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f44",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 318.158,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.1218,
    "h": 343.4
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#5B0F44
secondary
#31954F
accent
#EE7039
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5B0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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