#5B1E4E#5B1E4E

#5B1E4E is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.8% C 0.109 H 337.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#5B1E4E
RGBrgb(91, 30, 78)
HSLhsl(313, 50%, 24%)
HSVhsv(313, 67%, 36%)
CMYKcmyk(0%, 67%, 14.3%, 64.3%)
CIE-LABlab(22.67, 34.11, -15.67)
CIE-LCHlch(22.67, 37.54, 335.33°)
OKLaboklab(34.75% 0.1 -0.0425)
OKLCHoklch(34.75% 0.109 337)
XYZxyz(6.1539, 3.7033, 7.5969)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1E4E #1E5B2B
analogous
#491E5B #5B1E4E #5B1E2F
triadic
#5B1E4E #4E5B1E #1E4E5B
tetradic
#5B1E4E #5B491E #1E5B2B #1E2F5B
square
#5B1E4E #5B491E #1E5B2B #1E2F5B
split-complementary
#5B1E4E #2F5B1E #1E5B49
monochromatic
#170814 #2D0F27 #5B1E4E #892D75 #B73C9D

Accessibility & contrast

On white

12.06
#5B1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5B1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1E4E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1E4E#FFFFFF#000000##FFFFFF
##5B1E4E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#323A4C
Tritanopia (blue-blind)
#602133
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5b1e4e;
/* rgb */ color: rgb(91, 30, 78);
/* oklch */ color: oklch(34.8% 0.109 337.0);
Tailwind
colors: {
  custom: {
    50: '#8c5e7f',
    500: '#5b1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #5b1e4e;
$custom-light: #8c5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1e4e",
  "rgb": {
    "r": 91,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 312.787,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34751,
    "c": 0.10867,
    "h": 337
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#5B1E4E
secondary
#459055
accent
#DA6C4E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5B1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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