#5B0F29#5B0F29

#5B0F29 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 6.0°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5B0F29
RGBrgb(91, 15, 41)
HSLhsl(339, 72%, 21%)
HSVhsv(339, 84%, 36%)
CMYKcmyk(0%, 83.5%, 54.9%, 64.3%)
CIE-LABlab(18.91, 35.42, 4.38)
CIE-LCHlch(18.91, 35.69, 7.05°)
OKLaboklab(31.51% 0.1082 0.0114)
OKLCHoklch(31.51% 0.109 6)
XYZxyz(4.8859, 2.7266, 2.3664)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F29 #0F5B41
analogous
#5B0F4F #5B0F29 #5B1B0F
triadic
#5B0F29 #295B0F #0F295B
tetradic
#5B0F29 #4F5B0F #0F5B41 #1B0F5B
square
#5B0F29 #4F5B0F #0F5B41 #1B0F5B
split-complementary
#5B0F29 #0F5B1B #0F4F5B
monochromatic
#1A040C #260611 #5B0F29 #901841 #C42058

Accessibility & contrast

On white

13.59
#5B0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F29
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F29#FFFFFF#000000##FFFFFF
##5B0F291.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0f29;
/* rgb */ color: rgb(91, 15, 41);
/* oklch */ color: oklch(31.5% 0.109 6.0);
Tailwind
colors: {
  custom: {
    50: '#8e5662',
    500: '#5b0f29',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f29;
$custom-light: #8e5662;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f29",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 339.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.1088,
    "h": 6
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#5B0F29
secondary
#319573
accent
#EEB039
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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