#5E1A35#5E1A35

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

Color values

HEX#5E1A35
RGBrgb(94, 26, 53)
HSLhsl(336, 57%, 24%)
HSVhsv(336, 72%, 37%)
CMYKcmyk(0%, 72.3%, 43.6%, 63.1%)
CIE-LABlab(21.49, 33.29, -0.27)
CIE-LCHlch(21.49, 33.29, 359.53°)
OKLaboklab(33.65% 0.1019 -0.0003)
OKLCHoklch(33.65% 0.102 359.8)
XYZxyz(5.6285, 3.3762, 3.7227)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A35 #1A5E43
analogous
#5E1A57 #5E1A35 #5E211A
triadic
#5E1A35 #355E1A #1A355E
tetradic
#5E1A35 #575E1A #1A5E43 #211A5E
square
#5E1A35 #575E1A #1A5E43 #211A5E
split-complementary
#5E1A35 #1A5E21 #1A575E
monochromatic
#18070E #2E0D1A #5E1A35 #8E2750 #BE356B

Accessibility & contrast

On white

12.54
#5E1A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1A35
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A35#FFFFFF#000000##FFFFFF
##5E1A351.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272B36
Deuteranopia (green-blind)
#3A3833
Tritanopia (blue-blind)
#661225
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1a35;
/* rgb */ color: rgb(94, 26, 53);
/* oklch */ color: oklch(33.7% 0.102 359.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c6c',
    500: '#5e1a35',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a35;
$custom-light: #8f5c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a35",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 53
  },
  "hsl": {
    "h": 336.176,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33651,
    "c": 0.10191,
    "h": 359.8
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#5E1A35
secondary
#409473
accent
#E0A448
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1A35

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

Preview Lab → · Contrast checker → · Palette generator →

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