#5E1833#5E1833

#5E1833 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.104 H 1.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5E1833
RGBrgb(94, 24, 51)
HSLhsl(337, 59%, 23%)
HSVhsv(337, 74%, 37%)
CMYKcmyk(0%, 74.5%, 45.7%, 63.1%)
CIE-LABlab(21.10, 33.94, 0.56)
CIE-LCHlch(21.10, 33.94, 0.94°)
OKLaboklab(33.34% 0.1039 0.0018)
OKLCHoklch(33.34% 0.104 1)
XYZxyz(5.5407, 3.2727, 3.4712)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1833 #185E43
analogous
#5E1856 #5E1833 #5E2018
triadic
#5E1833 #335E18 #18335E
tetradic
#5E1833 #565E18 #185E43 #20185E
square
#5E1833 #565E18 #185E43 #20185E
split-complementary
#5E1833 #185E20 #18565E
monochromatic
#18060D #2D0C19 #5E1833 #8F244D #C03168

Accessibility & contrast

On white

12.69
#5E1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1833
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1833#FFFFFF#000000##FFFFFF
##5E18331.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A34
Deuteranopia (green-blind)
#393831
Tritanopia (blue-blind)
#660F23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1833;
/* rgb */ color: rgb(94, 24, 51);
/* oklch */ color: oklch(33.3% 0.104 1.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b6a',
    500: '#5e1833',
    950: '#000000',
  },
}
SCSS
$custom: #5e1833;
$custom-light: #8f5b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1833",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 336.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.10396,
    "h": 1
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#5E1833
secondary
#3D9473
accent
#E3A645
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1833

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

Preview Lab → · Contrast checker → · Palette generator →

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