#5B0F2E#5B0F2E

#5B0F2E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 1.6°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#5B0F2E
RGBrgb(91, 15, 46)
HSLhsl(336, 72%, 21%)
HSVhsv(336, 84%, 36%)
CMYKcmyk(0%, 83.5%, 49.5%, 64.3%)
CIE-LABlab(19.07, 35.91, 1.05)
CIE-LCHlch(19.07, 35.93, 1.67°)
OKLaboklab(31.68% 0.1102 0.0031)
OKLCHoklch(31.68% 0.11 1.6)
XYZxyz(4.9788, 2.7637, 2.8555)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F2E #0F5B3C
analogous
#5B0F54 #5B0F2E #5B160F
triadic
#5B0F2E #2E5B0F #0F2E5B
tetradic
#5B0F2E #545B0F #0F5B3C #160F5B
square
#5B0F2E #545B0F #0F5B3C #160F5B
split-complementary
#5B0F2E #0F5B16 #0F545B
monochromatic
#1A040D #260613 #5B0F2E #901849 #C42063

Accessibility & contrast

On white

13.53
#5B0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F2E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F2E#FFFFFF#000000##FFFFFF
##5B0F2E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#63011D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f2e;
/* rgb */ color: rgb(91, 15, 46);
/* oklch */ color: oklch(31.7% 0.110 1.6);
Tailwind
colors: {
  custom: {
    50: '#8e5666',
    500: '#5b0f2e',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f2e;
$custom-light: #8e5666;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f2e",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 46
  },
  "hsl": {
    "h": 335.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31677,
    "c": 0.11026,
    "h": 1.6
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#5B0F2E
secondary
#31956C
accent
#EEA539
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B0F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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