#5E172E#5E172E

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

Color values

HEX#5E172E
RGBrgb(94, 23, 46)
HSLhsl(341, 61%, 23%)
HSVhsv(341, 76%, 37%)
CMYKcmyk(0%, 75.5%, 51.1%, 63.1%)
CIE-LABlab(20.79, 33.83, 3.60)
CIE-LCHlch(20.79, 34.02, 6.08°)
OKLaboklab(33.06% 0.1033 0.0096)
OKLCHoklch(33.06% 0.104 5.3)
XYZxyz(5.4161, 3.1904, 2.9148)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E172E #175E47
analogous
#5E1751 #5E172E #5E2317
triadic
#5E172E #2E5E17 #172E5E
tetradic
#5E172E #515E17 #175E47 #23175E
square
#5E172E #515E17 #175E47 #23175E
split-complementary
#5E172E #175E23 #17515E
monochromatic
#19060C #2D0B16 #5E172E #8F2346 #C02F5E

Accessibility & contrast

On white

12.82
#5E172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E172E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E172E#FFFFFF#000000##FFFFFF
##5E172E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#3A372C
Tritanopia (blue-blind)
#670B20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e172e;
/* rgb */ color: rgb(94, 23, 46);
/* oklch */ color: oklch(33.1% 0.104 5.3);
Tailwind
colors: {
  custom: {
    50: '#905a66',
    500: '#5e172e',
    950: '#000000',
  },
}
SCSS
$custom: #5e172e;
$custom-light: #905a66;
$custom-dark: #000000;
JSON
{
  "hex": "#5e172e",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 340.563,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33059,
    "c": 0.10373,
    "h": 5.3
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#5E172E
secondary
#3C9578
accent
#E4B044
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E172E

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

Preview Lab → · Contrast checker → · Palette generator →

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