#5E123E#5E123E

#5E123E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.117 H 350.1°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5E123E
RGBrgb(94, 18, 62)
HSLhsl(325, 68%, 22%)
HSVhsv(325, 81%, 37%)
CMYKcmyk(0%, 80.9%, 34%, 63.1%)
CIE-LABlab(20.68, 37.65, -7.74)
CIE-LCHlch(20.68, 38.43, 348.38°)
OKLaboklab(33.17% 0.1151 -0.0202)
OKLCHoklch(33.17% 0.117 350.1)
XYZxyz(5.7022, 3.1608, 4.8663)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E123E #125E32
analogous
#58125E #5E123E #5E1218
triadic
#5E123E #3E5E12 #123E5E
tetradic
#5E123E #5E5812 #125E32 #12185E
square
#5E123E #5E5812 #125E32 #12185E
split-complementary
#5E123E #185E12 #125E58
monochromatic
#1A0511 #2B081C #5E123E #911C60 #C52682

Accessibility & contrast

On white

12.87
#5E123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E123E
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E123E#FFFFFF#000000##FFFFFF
##5E123E1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#650D26
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e123e;
/* rgb */ color: rgb(94, 18, 62);
/* oklch */ color: oklch(33.2% 0.117 350.1);
Tailwind
colors: {
  custom: {
    50: '#8f5973',
    500: '#5e123e',
    950: '#000000',
  },
}
SCSS
$custom: #5e123e;
$custom-light: #8f5973;
$custom-dark: #000000;
JSON
{
  "hex": "#5e123e",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 325.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.11689,
    "h": 350.1
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#5E123E
secondary
#35965E
accent
#EB863D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E123E

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

Preview Lab → · Contrast checker → · Palette generator →

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