#5E1836#5E1836

#5E1836 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.105 H 358.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5E1836
RGBrgb(94, 24, 54)
HSLhsl(334, 59%, 23%)
HSVhsv(334, 74%, 37%)
CMYKcmyk(0%, 74.5%, 42.6%, 63.1%)
CIE-LABlab(21.21, 34.29, -1.38)
CIE-LCHlch(21.21, 34.32, 357.69°)
OKLaboklab(33.45% 0.1051 -0.0032)
OKLCHoklch(33.45% 0.105 358.3)
XYZxyz(5.6090, 3.3000, 3.8309)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1836 #185E40
analogous
#5E1859 #5E1836 #5E1D18
triadic
#5E1836 #365E18 #18365E
tetradic
#5E1836 #595E18 #185E40 #1D185E
square
#5E1836 #595E18 #185E40 #1D185E
split-complementary
#5E1836 #185E1D #18595E
monochromatic
#18060E #2D0C1A #5E1836 #8F2452 #C0316E

Accessibility & contrast

On white

12.65
#5E1836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1836
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1836#FFFFFF#000000##FFFFFF
##5E18361.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B37
Deuteranopia (green-blind)
#393834
Tritanopia (blue-blind)
#661024
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1836;
/* rgb */ color: rgb(94, 24, 54);
/* oklch */ color: oklch(33.5% 0.105 358.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b6c',
    500: '#5e1836',
    950: '#000000',
  },
}
SCSS
$custom: #5e1836;
$custom-light: #8f5b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1836",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 334.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33453,
    "c": 0.10513,
    "h": 358.3
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#5E1836
secondary
#3D946F
accent
#E39F45
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1836

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

Preview Lab → · Contrast checker → · Palette generator →

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