#5D1127#5D1127

#5D1127 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.108 H 9.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#5D1127
RGBrgb(93, 17, 39)
HSLhsl(343, 69%, 22%)
HSVhsv(343, 82%, 36%)
CMYKcmyk(0%, 81.7%, 58.1%, 63.5%)
CIE-LABlab(19.54, 35.18, 6.74)
CIE-LCHlch(19.54, 35.82, 10.85°)
OKLaboklab(32.03% 0.1069 0.0172)
OKLCHoklch(32.03% 0.108 9.1)
XYZxyz(5.0813, 2.8753, 2.2065)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1127 #115D47
analogous
#5D114D #5D1127 #5D2111
triadic
#5D1127 #275D11 #11275D
tetradic
#5D1127 #4D5D11 #115D47 #21115D
square
#5D1127 #4D5D11 #115D47 #21115D
split-complementary
#5D1127 #115D21 #114D5D
monochromatic
#1A050B #290811 #5D1127 #911A3D #C42452

Accessibility & contrast

On white

13.33
#5D1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1127
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1127#FFFFFF#000000##FFFFFF
##5D11271.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252627
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#66001A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d1127;
/* rgb */ color: rgb(93, 17, 39);
/* oklch */ color: oklch(32.0% 0.108 9.1);
Tailwind
colors: {
  custom: {
    50: '#905760',
    500: '#5d1127',
    950: '#000000',
  },
}
SCSS
$custom: #5d1127;
$custom-light: #905760;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1127",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 342.632,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32028,
    "c": 0.10828,
    "h": 9.1
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#5D1127
secondary
#349679
accent
#ECB93C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5D1127

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

Preview Lab → · Contrast checker → · Palette generator →

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