#5B1025#5B1025

#5B1025 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.107 H 9.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5B1025
RGBrgb(91, 16, 37)
HSLhsl(343, 70%, 21%)
HSVhsv(343, 82%, 36%)
CMYKcmyk(0%, 82.4%, 59.3%, 64.3%)
CIE-LABlab(18.92, 34.72, 7.25)
CIE-LCHlch(18.92, 35.47, 11.80°)
OKLaboklab(31.48% 0.1054 0.0183)
OKLCHoklch(31.48% 0.107 9.9)
XYZxyz(4.8341, 2.7290, 2.0221)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1025 #105B46
analogous
#5B104A #5B1025 #5B2010
triadic
#5B1025 #255B10 #10255B
tetradic
#5B1025 #4A5B10 #105B46 #20105B
square
#5B1025 #4A5B10 #105B46 #20105B
split-complementary
#5B1025 #105B20 #104A5B
monochromatic
#1A050B #270710 #5B1025 #8F193A #C3224F

Accessibility & contrast

On white

13.59
#5B1025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1025
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1025#FFFFFF#000000##FFFFFF
##5B10251.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242425
Deuteranopia (green-blind)
#373323
Tritanopia (blue-blind)
#640019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1025;
/* rgb */ color: rgb(91, 16, 37);
/* oklch */ color: oklch(31.5% 0.107 9.9);
Tailwind
colors: {
  custom: {
    50: '#8e565f',
    500: '#5b1025',
    950: '#000000',
  },
}
SCSS
$custom: #5b1025;
$custom-light: #8e565f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1025",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 37
  },
  "hsl": {
    "h": 343.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3148,
    "c": 0.10694,
    "h": 9.9
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#5B1025
secondary
#339479
accent
#EDBB3B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1025

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

Preview Lab → · Contrast checker → · Palette generator →

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