#5B1029#5B1029

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

Color values

HEX#5B1029
RGBrgb(91, 16, 41)
HSLhsl(340, 70%, 21%)
HSVhsv(340, 82%, 36%)
CMYKcmyk(0%, 82.4%, 54.9%, 64.3%)
CIE-LABlab(19.04, 35.07, 4.56)
CIE-LCHlch(19.04, 35.37, 7.40°)
OKLaboklab(31.6% 0.1071 0.0119)
OKLCHoklch(31.6% 0.108 6.3)
XYZxyz(4.9004, 2.7555, 2.3712)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1029 #105B42
analogous
#5B104E #5B1029 #5B1C10
triadic
#5B1029 #295B10 #10295B
tetradic
#5B1029 #4E5B10 #105B42 #1C105B
square
#5B1029 #4E5B10 #105B42 #1C105B
split-complementary
#5B1029 #105B1C #104E5B
monochromatic
#1A050C #270712 #5B1029 #8F1940 #C32258

Accessibility & contrast

On white

13.54
#5B1029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1029
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1029#FFFFFF#000000##FFFFFF
##5B10291.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1029;
/* rgb */ color: rgb(91, 16, 41);
/* oklch */ color: oklch(31.6% 0.108 6.3);
Tailwind
colors: {
  custom: {
    50: '#8e5762',
    500: '#5b1029',
    950: '#000000',
  },
}
SCSS
$custom: #5b1029;
$custom-light: #8e5762;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1029",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 41
  },
  "hsl": {
    "h": 340,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.316,
    "c": 0.10773,
    "h": 6.3
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#5B1029
secondary
#339474
accent
#EDB23B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B1029

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

Preview Lab → · Contrast checker → · Palette generator →

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