#5E1B2D#5E1B2D

#5E1B2D is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.5% C 0.098 H 7.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5E1B2D
RGBrgb(94, 27, 45)
HSLhsl(344, 55%, 24%)
HSVhsv(344, 71%, 37%)
CMYKcmyk(0%, 71.3%, 52.1%, 63.1%)
CIE-LABlab(21.41, 31.94, 5.18)
CIE-LCHlch(21.41, 32.36, 9.21°)
OKLaboklab(33.51% 0.0972 0.0135)
OKLCHoklch(33.51% 0.098 7.9)
XYZxyz(5.4821, 3.3537, 2.8408)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B2D #1B5E4C
analogous
#5E1B4E #5E1B2D #5E2A1B
triadic
#5E1B2D #2D5E1B #1B2D5E
tetradic
#5E1B2D #4E5E1B #1B5E4C #2A1B5E
square
#5E1B2D #4E5E1B #1B5E4C #2A1B5E
split-complementary
#5E1B2D #1B5E2A #1B4E5E
monochromatic
#18070B #2E0D16 #5E1B2D #8E2944 #BD365B

Accessibility & contrast

On white

12.57
#5E1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B2D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B2D#FFFFFF#000000##FFFFFF
##5E1B2D1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#3C382B
Tritanopia (blue-blind)
#671022
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1b2d;
/* rgb */ color: rgb(94, 27, 45);
/* oklch */ color: oklch(33.5% 0.098 7.9);
Tailwind
colors: {
  custom: {
    50: '#905c65',
    500: '#5e1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b2d;
$custom-light: #905c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b2d",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 343.881,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.09813,
    "h": 7.9
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#5E1B2D
secondary
#41947D
accent
#DFB749
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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