#5B0F30#5B0F30

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

Color values

HEX#5B0F30
RGBrgb(91, 15, 48)
HSLhsl(334, 72%, 21%)
HSVhsv(334, 84%, 36%)
CMYKcmyk(0%, 83.5%, 47.3%, 64.3%)
CIE-LABlab(19.14, 36.12, -0.27)
CIE-LCHlch(19.14, 36.12, 359.57°)
OKLaboklab(31.75% 0.111 -0.0003)
OKLCHoklch(31.75% 0.111 359.8)
XYZxyz(5.0191, 2.7799, 3.0680)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F30 #0F5B3A
analogous
#5B0F56 #5B0F30 #5B140F
triadic
#5B0F30 #305B0F #0F305B
tetradic
#5B0F30 #565B0F #0F5B3A #140F5B
square
#5B0F30 #565B0F #0F5B3A #140F5B
split-complementary
#5B0F30 #0F5B14 #0F565B
monochromatic
#1A040E #260614 #5B0F30 #90184C #C42067

Accessibility & contrast

On white

13.50
#5B0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B0F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F30
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F30#FFFFFF#000000##FFFFFF
##5B0F301.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212531
Deuteranopia (green-blind)
#35342E
Tritanopia (blue-blind)
#63021E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0f30;
/* rgb */ color: rgb(91, 15, 48);
/* oklch */ color: oklch(31.7% 0.111 359.8);
Tailwind
colors: {
  custom: {
    50: '#8e5668',
    500: '#5b0f30',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f30;
$custom-light: #8e5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f30",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 333.947,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.11099,
    "h": 359.8
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#5B0F30
secondary
#319569
accent
#EEA039
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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