#5B0F24#5B0F24

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

Color values

HEX#5B0F24
RGBrgb(91, 15, 36)
HSLhsl(343, 72%, 21%)
HSVhsv(343, 84%, 36%)
CMYKcmyk(0%, 83.5%, 60.4%, 64.3%)
CIE-LABlab(18.77, 34.98, 7.76)
CIE-LCHlch(18.77, 35.83, 12.50°)
OKLaboklab(31.36% 0.1061 0.0195)
OKLCHoklch(31.36% 0.108 10.4)
XYZxyz(4.8041, 2.6939, 1.9357)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F24 #0F5B46
analogous
#5B0F4A #5B0F24 #5B200F
triadic
#5B0F24 #245B0F #0F245B
tetradic
#5B0F24 #4A5B0F #0F5B46 #200F5B
square
#5B0F24 #4A5B0F #0F5B46 #200F5B
split-complementary
#5B0F24 #0F5B20 #0F4A5B
monochromatic
#1A040A #26060F #5B0F24 #901839 #C4204E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B0F24#FFFFFF#000000##FFFFFF
##5B0F241.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)
#242424
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f24;
/* rgb */ color: rgb(91, 15, 36);
/* oklch */ color: oklch(31.4% 0.108 10.4);
Tailwind
colors: {
  custom: {
    50: '#8f565e',
    500: '#5b0f24',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f24;
$custom-light: #8f565e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f24",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 343.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.10783,
    "h": 10.4
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#5B0F24
secondary
#319579
accent
#EEBC39
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0F24

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

Preview Lab → · Contrast checker → · Palette generator →

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