#5E1C2F#5E1C2F

#5E1C2F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.097 H 6.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5E1C2F
RGBrgb(94, 28, 47)
HSLhsl(343, 54%, 24%)
HSVhsv(343, 70%, 37%)
CMYKcmyk(0%, 70.2%, 50%, 63.1%)
CIE-LABlab(21.64, 31.68, 4.11)
CIE-LCHlch(21.64, 31.95, 7.40°)
OKLaboklab(33.7% 0.0966 0.0108)
OKLCHoklch(33.7% 0.097 6.4)
XYZxyz(5.5449, 3.4161, 3.0562)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1C2F #1C5E4B
analogous
#5E1C50 #5E1C2F #5E2A1C
triadic
#5E1C2F #2F5E1C #1C2F5E
tetradic
#5E1C2F #505E1C #1C5E4B #2A1C5E
square
#5E1C2F #505E1C #1C5E4B #2A1C5E
split-complementary
#5E1C2F #1C5E2A #1C505E
monochromatic
#18070C #2F0E17 #5E1C2F #8D2A47 #BC385E

Accessibility & contrast

On white

12.48
#5E1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1C2F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1C2F#FFFFFF#000000##FFFFFF
##5E1C2F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C2F
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#671223
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1c2f;
/* rgb */ color: rgb(94, 28, 47);
/* oklch */ color: oklch(33.7% 0.097 6.4);
Tailwind
colors: {
  custom: {
    50: '#8f5d67',
    500: '#5e1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1c2f;
$custom-light: #8f5d67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1c2f",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 342.727,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33698,
    "c": 0.09716,
    "h": 6.4
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#5E1C2F
secondary
#42937C
accent
#DDB34A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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