#5B0F2C#5B0F2C

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

Color values

HEX#5B0F2C
RGBrgb(91, 15, 44)
HSLhsl(337, 72%, 21%)
HSVhsv(337, 84%, 36%)
CMYKcmyk(0%, 83.5%, 51.6%, 64.3%)
CIE-LABlab(19.01, 35.71, 2.38)
CIE-LCHlch(19.01, 35.79, 3.81°)
OKLaboklab(31.61% 0.1094 0.0065)
OKLCHoklch(31.61% 0.11 3.4)
XYZxyz(4.9403, 2.7483, 2.6527)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F2C #0F5B3E
analogous
#5B0F52 #5B0F2C #5B180F
triadic
#5B0F2C #2C5B0F #0F2C5B
tetradic
#5B0F2C #525B0F #0F5B3E #180F5B
square
#5B0F2C #525B0F #0F5B3E #180F5B
split-complementary
#5B0F2C #0F5B18 #0F525B
monochromatic
#1A040D #260613 #5B0F2C #901845 #C4205F

Accessibility & contrast

On white

13.55
#5B0F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F2C
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F2C#FFFFFF#000000##FFFFFF
##5B0F2C1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252D
Deuteranopia (green-blind)
#36332A
Tritanopia (blue-blind)
#64001C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f2c;
/* rgb */ color: rgb(91, 15, 44);
/* oklch */ color: oklch(31.6% 0.110 3.4);
Tailwind
colors: {
  custom: {
    50: '#8e5664',
    500: '#5b0f2c',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f2c;
$custom-light: #8e5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f2c",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 337.105,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31607,
    "c": 0.10962,
    "h": 3.4
  },
  "luminance": 0.02748
}

Semantic roles & 50–950 ramp

primary
#5B0F2C
secondary
#31956F
accent
#EEA939
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B0F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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