#5E182B#5E182B

#5E182B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.102 H 8.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5E182B
RGBrgb(94, 24, 43)
HSLhsl(344, 59%, 23%)
HSVhsv(344, 74%, 37%)
CMYKcmyk(0%, 74.5%, 54.3%, 63.1%)
CIE-LABlab(20.86, 33.09, 5.80)
CIE-LCHlch(20.86, 33.60, 9.94°)
OKLaboklab(33.08% 0.1007 0.015)
OKLCHoklch(33.08% 0.102 8.5)
XYZxyz(5.3792, 3.2081, 2.6210)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E182B #185E4B
analogous
#5E184E #5E182B #5E2818
triadic
#5E182B #2B5E18 #182B5E
tetradic
#5E182B #4E5E18 #185E4B #28185E
square
#5E182B #4E5E18 #185E4B #28185E
split-complementary
#5E182B #185E28 #184E5E
monochromatic
#18060B #2D0C15 #5E182B #8F2441 #C03158

Accessibility & contrast

On white

12.79
#5E182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E182B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E182B
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E182B#FFFFFF#000000##FFFFFF
##5E182B1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#3B3729
Tritanopia (blue-blind)
#670B20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e182b;
/* rgb */ color: rgb(94, 24, 43);
/* oklch */ color: oklch(33.1% 0.102 8.5);
Tailwind
colors: {
  custom: {
    50: '#905b64',
    500: '#5e182b',
    950: '#000000',
  },
}
SCSS
$custom: #5e182b;
$custom-light: #905b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e182b",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 343.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.10176,
    "h": 8.5
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#5E182B
secondary
#3D947D
accent
#E3B845
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E182B

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

Preview Lab → · Contrast checker → · Palette generator →

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