#5B1142#5B1142

#5B1142 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.118 H 345.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5B1142
RGBrgb(91, 17, 66)
HSLhsl(320, 69%, 21%)
HSVhsv(320, 81%, 36%)
CMYKcmyk(0%, 81.3%, 27.5%, 64.3%)
CIE-LABlab(20.12, 37.69, -11.42)
CIE-LCHlch(20.12, 39.38, 343.15°)
OKLaboklab(32.71% 0.1142 -0.0304)
OKLCHoklch(32.71% 0.118 345.1)
XYZxyz(5.4984, 3.0190, 5.4464)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1142 #115B2A
analogous
#4F115B #5B1142 #5B111D
triadic
#5B1142 #425B11 #11425B
tetradic
#5B1142 #5B4F11 #115B2A #111D5B
square
#5B1142 #5B4F11 #115B2A #111D5B
split-complementary
#5B1142 #1D5B11 #115B4F
monochromatic
#1A0513 #27071D #5B1142 #8F1B67 #C2248D

Accessibility & contrast

On white

13.10
#5B1142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B1142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1142
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1142#FFFFFF#000000##FFFFFF
##5B11421.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2943
Deuteranopia (green-blind)
#313540
Tritanopia (blue-blind)
#621028
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1142;
/* rgb */ color: rgb(91, 17, 66);
/* oklch */ color: oklch(32.7% 0.118 345.1);
Tailwind
colors: {
  custom: {
    50: '#8d5876',
    500: '#5b1142',
    950: '#000000',
  },
}
SCSS
$custom: #5b1142;
$custom-light: #8d5876;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1142",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 66
  },
  "hsl": {
    "h": 320.27,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.11819,
    "h": 345.1
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#5B1142
secondary
#349454
accent
#EB783C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B1142

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

Preview Lab → · Contrast checker → · Palette generator →

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