#5E1126#5E1126

#5E1126 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 10.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#5E1126
RGBrgb(94, 17, 38)
HSLhsl(344, 69%, 22%)
HSVhsv(344, 82%, 37%)
CMYKcmyk(0%, 81.9%, 59.6%, 63.1%)
CIE-LABlab(19.73, 35.42, 7.75)
CIE-LCHlch(19.73, 36.26, 12.34°)
OKLaboklab(32.2% 0.1074 0.0195)
OKLCHoklch(32.2% 0.109 10.3)
XYZxyz(5.1669, 2.9213, 2.1251)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1126 #115E49
analogous
#5E114D #5E1126 #5E2311
triadic
#5E1126 #265E11 #11265E
tetradic
#5E1126 #4D5E11 #115E49 #23115E
square
#5E1126 #4D5E11 #115E49 #23115E
split-complementary
#5E1126 #115E23 #114D5E
monochromatic
#1A050A #2A0811 #5E1126 #921A3B #C62450

Accessibility & contrast

On white

13.26
#5E1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1126
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1126#FFFFFF#000000##FFFFFF
##5E11261.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#67001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1126;
/* rgb */ color: rgb(94, 17, 38);
/* oklch */ color: oklch(32.2% 0.109 10.3);
Tailwind
colors: {
  custom: {
    50: '#915760',
    500: '#5e1126',
    950: '#000000',
  },
}
SCSS
$custom: #5e1126;
$custom-light: #915760;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1126",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 343.636,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.10916,
    "h": 10.3
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5E1126
secondary
#34977C
accent
#ECBC3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5E1126

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

Preview Lab → · Contrast checker → · Palette generator →

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