#5E1846#5E1846

#5E1846 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.114 H 344.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5E1846
RGBrgb(94, 24, 70)
HSLhsl(321, 59%, 23%)
HSVhsv(321, 74%, 37%)
CMYKcmyk(0%, 74.5%, 25.5%, 63.1%)
CIE-LABlab(21.86, 36.44, -11.45)
CIE-LCHlch(21.86, 38.20, 342.56°)
OKLaboklab(34.14% 0.11 -0.0305)
OKLCHoklch(34.14% 0.114 344.5)
XYZxyz(6.0484, 3.4758, 6.1455)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1846 #185E30
analogous
#53185E #5E1846 #5E1823
triadic
#5E1846 #465E18 #18465E
tetradic
#5E1846 #5E5318 #185E30 #18235E
square
#5E1846 #5E5318 #185E30 #18235E
split-complementary
#5E1846 #235E18 #185E53
monochromatic
#180612 #2D0C22 #5E1846 #8F246A #C0318F

Accessibility & contrast

On white

12.39
#5E1846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1846
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1846#FFFFFF#000000##FFFFFF
##5E18461.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D47
Deuteranopia (green-blind)
#353944
Tritanopia (blue-blind)
#65172C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1846;
/* rgb */ color: rgb(94, 24, 70);
/* oklch */ color: oklch(34.1% 0.114 344.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c79',
    500: '#5e1846',
    950: '#000000',
  },
}
SCSS
$custom: #5e1846;
$custom-light: #8f5c79;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1846",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 70
  },
  "hsl": {
    "h": 320.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.11411,
    "h": 344.5
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#5E1846
secondary
#3D945B
accent
#E37B45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1846

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

Preview Lab → · Contrast checker → · Palette generator →

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