#5E123B#5E123B

#5E123B is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.115 H 352.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5E123B
RGBrgb(94, 18, 59)
HSLhsl(328, 68%, 22%)
HSVhsv(328, 81%, 37%)
CMYKcmyk(0%, 80.9%, 37.2%, 63.1%)
CIE-LABlab(20.55, 37.26, -5.84)
CIE-LCHlch(20.55, 37.72, 351.09°)
OKLaboklab(33.03% 0.1143 -0.015)
OKLCHoklch(33.03% 0.115 352.5)
XYZxyz(5.6222, 3.1287, 4.4447)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E123B #125E35
analogous
#5B125E #5E123B #5E1215
triadic
#5E123B #3B5E12 #123B5E
tetradic
#5E123B #5E5B12 #125E35 #12155E
square
#5E123B #5E5B12 #125E35 #12155E
split-complementary
#5E123B #155E12 #125E5B
monochromatic
#1A0510 #2B081B #5E123B #911C5B #C5267B

Accessibility & contrast

On white

12.92
#5E123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E123B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E123B#FFFFFF#000000##FFFFFF
##5E123B1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#363639
Tritanopia (blue-blind)
#660B24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e123b;
/* rgb */ color: rgb(94, 18, 59);
/* oklch */ color: oklch(33.0% 0.115 352.5);
Tailwind
colors: {
  custom: {
    50: '#8f5870',
    500: '#5e123b',
    950: '#000000',
  },
}
SCSS
$custom: #5e123b;
$custom-light: #8f5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5e123b",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 327.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33034,
    "c": 0.11524,
    "h": 352.5
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#5E123B
secondary
#359662
accent
#EB8D3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E123B

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

Preview Lab → · Contrast checker → · Palette generator →

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