#5D1126#5D1126

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

Color values

HEX#5D1126
RGBrgb(93, 17, 38)
HSLhsl(343, 69%, 22%)
HSVhsv(343, 82%, 36%)
CMYKcmyk(0%, 81.7%, 59.1%, 63.5%)
CIE-LABlab(19.51, 35.09, 7.42)
CIE-LCHlch(19.51, 35.87, 11.93°)
OKLaboklab(32% 0.1065 0.0188)
OKLCHoklch(32% 0.108 10)
XYZxyz(5.0650, 2.8687, 2.1204)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1126 #115D48
analogous
#5D114C #5D1126 #5D2211
triadic
#5D1126 #265D11 #11265D
tetradic
#5D1126 #4C5D11 #115D48 #22115D
square
#5D1126 #4C5D11 #115D48 #22115D
split-complementary
#5D1126 #115D22 #114C5D
monochromatic
#1A050B #290811 #5D1126 #911A3B #C42450

Accessibility & contrast

On white

13.35
#5D1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5D1126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1126
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1126#FFFFFF#000000##FFFFFF
##5D11261.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1126;
/* rgb */ color: rgb(93, 17, 38);
/* oklch */ color: oklch(32.0% 0.108 10.0);
Tailwind
colors: {
  custom: {
    50: '#905760',
    500: '#5d1126',
    950: '#000000',
  },
}
SCSS
$custom: #5d1126;
$custom-light: #905760;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1126",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 343.421,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32,
    "c": 0.10812,
    "h": 10
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#5D1126
secondary
#34967B
accent
#ECBB3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5D1126

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

Preview Lab → · Contrast checker → · Palette generator →

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