#5B0E29#5B0E29

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

Color values

HEX#5B0E29
RGBrgb(91, 14, 41)
HSLhsl(339, 73%, 21%)
HSVhsv(339, 85%, 36%)
CMYKcmyk(0%, 84.6%, 54.9%, 64.3%)
CIE-LABlab(18.80, 35.75, 4.22)
CIE-LCHlch(18.80, 36.00, 6.72°)
OKLaboklab(31.42% 0.1093 0.011)
OKLCHoklch(31.42% 0.11 5.8)
XYZxyz(4.8721, 2.6990, 2.3618)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E29 #0E5B40
analogous
#5B0E4F #5B0E29 #5B190E
triadic
#5B0E29 #295B0E #0E295B
tetradic
#5B0E29 #4F5B0E #0E5B40 #190E5B
square
#5B0E29 #4F5B0E #0E5B40 #190E5B
split-complementary
#5B0E29 #0E5B19 #0E4F5B
monochromatic
#1B040C #260611 #5B0E29 #901641 #C51E59

Accessibility & contrast

On white

13.64
#5B0E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E29
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E29#FFFFFF#000000##FFFFFF
##5B0E291.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0e29;
/* rgb */ color: rgb(91, 14, 41);
/* oklch */ color: oklch(31.4% 0.110 5.8);
Tailwind
colors: {
  custom: {
    50: '#8e5662',
    500: '#5b0e29',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e29;
$custom-light: #8e5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e29",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 338.961,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.10983,
    "h": 5.8
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#5B0E29
secondary
#309571
accent
#F0AF38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0E29

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

Preview Lab → · Contrast checker → · Palette generator →

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