#5B0F2B#5B0F2B

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

Color values

HEX#5B0F2B
RGBrgb(91, 15, 43)
HSLhsl(338, 72%, 21%)
HSVhsv(338, 84%, 36%)
CMYKcmyk(0%, 83.5%, 52.7%, 64.3%)
CIE-LABlab(18.97, 35.61, 3.04)
CIE-LCHlch(18.97, 35.74, 4.89°)
OKLaboklab(31.57% 0.109 0.0081)
OKLCHoklch(31.57% 0.109 4.3)
XYZxyz(4.9217, 2.7409, 2.5549)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F2B #0F5B3F
analogous
#5B0F51 #5B0F2B #5B190F
triadic
#5B0F2B #2B5B0F #0F2B5B
tetradic
#5B0F2B #515B0F #0F5B3F #190F5B
square
#5B0F2B #515B0F #0F5B3F #190F5B
split-complementary
#5B0F2B #0F5B19 #0F515B
monochromatic
#1A040C #260612 #5B0F2B #901844 #C4205D

Accessibility & contrast

On white

13.57
#5B0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F2B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F2B#FFFFFF#000000##FFFFFF
##5B0F2B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f2b;
/* rgb */ color: rgb(91, 15, 43);
/* oklch */ color: oklch(31.6% 0.109 4.3);
Tailwind
colors: {
  custom: {
    50: '#8e5664',
    500: '#5b0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f2b;
$custom-light: #8e5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f2b",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 337.895,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31574,
    "c": 0.10933,
    "h": 4.3
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#5B0F2B
secondary
#319570
accent
#EEAC39
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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