#5B102F#5B102F

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

Color values

HEX#5B102F
RGBrgb(91, 16, 47)
HSLhsl(335, 70%, 21%)
HSVhsv(335, 82%, 36%)
CMYKcmyk(0%, 82.4%, 48.4%, 64.3%)
CIE-LABlab(19.23, 35.67, 0.56)
CIE-LCHlch(19.23, 35.68, 0.90°)
OKLaboklab(31.8% 0.1095 0.0019)
OKLCHoklch(31.8% 0.11 1)
XYZxyz(5.0132, 2.8006, 2.9654)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B102F #105B3C
analogous
#5B1054 #5B102F #5B1610
triadic
#5B102F #2F5B10 #102F5B
tetradic
#5B102F #545B10 #105B3C #16105B
square
#5B102F #545B10 #105B3C #16105B
split-complementary
#5B102F #105B16 #10545B
monochromatic
#1A050D #270714 #5B102F #8F194A #C32265

Accessibility & contrast

On white

13.46
#5B102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B102F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B102F#FFFFFF#000000##FFFFFF
##5B102F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#63031E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b102f;
/* rgb */ color: rgb(91, 16, 47);
/* oklch */ color: oklch(31.8% 0.110 1.0);
Tailwind
colors: {
  custom: {
    50: '#8e5767',
    500: '#5b102f',
    950: '#000000',
  },
}
SCSS
$custom: #5b102f;
$custom-light: #8e5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5b102f",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 335.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31802,
    "c": 0.10952,
    "h": 1
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#5B102F
secondary
#33946C
accent
#EDA33B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B102F

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

Preview Lab → · Contrast checker → · Palette generator →

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