#5B102A#5B102A

#5B102A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.108 H 5.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#5B102A
RGBrgb(91, 16, 42)
HSLhsl(339, 70%, 21%)
HSVhsv(339, 82%, 36%)
CMYKcmyk(0%, 82.4%, 53.8%, 64.3%)
CIE-LABlab(19.07, 35.17, 3.89)
CIE-LCHlch(19.07, 35.38, 6.31°)
OKLaboklab(31.63% 0.1075 0.0102)
OKLCHoklch(31.63% 0.108 5.4)
XYZxyz(4.9180, 2.7626, 2.4643)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B102A #105B41
analogous
#5B104F #5B102A #5B1B10
triadic
#5B102A #2A5B10 #102A5B
tetradic
#5B102A #4F5B10 #105B41 #1B105B
square
#5B102A #4F5B10 #105B41 #1B105B
split-complementary
#5B102A #105B1B #104F5B
monochromatic
#1A050C #270712 #5B102A #8F1942 #C3225A

Accessibility & contrast

On white

13.53
#5B102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B102A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B102A#FFFFFF#000000##FFFFFF
##5B102A1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b102a;
/* rgb */ color: rgb(91, 16, 42);
/* oklch */ color: oklch(31.6% 0.108 5.4);
Tailwind
colors: {
  custom: {
    50: '#8e5763',
    500: '#5b102a',
    950: '#000000',
  },
}
SCSS
$custom: #5b102a;
$custom-light: #8e5763;
$custom-dark: #000000;
JSON
{
  "hex": "#5b102a",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 339.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31632,
    "c": 0.10798,
    "h": 5.4
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#5B102A
secondary
#339472
accent
#EDAF3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B102A

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

Preview Lab → · Contrast checker → · Palette generator →

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