#5B102E#5B102E

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

Color values

HEX#5B102E
RGBrgb(91, 16, 46)
HSLhsl(336, 70%, 21%)
HSVhsv(336, 82%, 36%)
CMYKcmyk(0%, 82.4%, 49.5%, 64.3%)
CIE-LABlab(19.19, 35.56, 1.23)
CIE-LCHlch(19.19, 35.59, 1.97°)
OKLaboklab(31.77% 0.1091 0.0035)
OKLCHoklch(31.77% 0.109 1.9)
XYZxyz(4.9932, 2.7927, 2.8603)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B102E #105B3D
analogous
#5B1053 #5B102E #5B1710
triadic
#5B102E #2E5B10 #102E5B
tetradic
#5B102E #535B10 #105B3D #17105B
square
#5B102E #535B10 #105B3D #17105B
split-complementary
#5B102E #105B17 #10535B
monochromatic
#1A050D #270714 #5B102E #8F1948 #C32263

Accessibility & contrast

On white

13.48
#5B102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B102E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B102E#FFFFFF#000000##FFFFFF
##5B102E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#63021D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b102e;
/* rgb */ color: rgb(91, 16, 46);
/* oklch */ color: oklch(31.8% 0.109 1.9);
Tailwind
colors: {
  custom: {
    50: '#8e5766',
    500: '#5b102e',
    950: '#000000',
  },
}
SCSS
$custom: #5b102e;
$custom-light: #8e5766;
$custom-dark: #000000;
JSON
{
  "hex": "#5b102e",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 336,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31766,
    "c": 0.10918,
    "h": 1.9
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#5B102E
secondary
#33946D
accent
#EDA63B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B102E

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

Preview Lab → · Contrast checker → · Palette generator →

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