#5E123A#5E123A

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

Color values

HEX#5E123A
RGBrgb(94, 18, 58)
HSLhsl(328, 68%, 22%)
HSVhsv(328, 81%, 37%)
CMYKcmyk(0%, 80.9%, 38.3%, 63.1%)
CIE-LABlab(20.51, 37.14, -5.21)
CIE-LCHlch(20.51, 37.50, 352.02°)
OKLaboklab(32.99% 0.114 -0.0133)
OKLCHoklch(32.99% 0.115 353.3)
XYZxyz(5.5965, 3.1185, 4.3094)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E123A #125E36
analogous
#5C125E #5E123A #5E1214
triadic
#5E123A #3A5E12 #123A5E
tetradic
#5E123A #5E5C12 #125E36 #12145E
square
#5E123A #5E5C12 #125E36 #12145E
split-complementary
#5E123A #145E12 #125E5C
monochromatic
#1A0510 #2B081A #5E123A #911C5A #C52679

Accessibility & contrast

On white

12.93
#5E123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E123A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E123A#FFFFFF#000000##FFFFFF
##5E123A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293B
Deuteranopia (green-blind)
#363638
Tritanopia (blue-blind)
#660A24
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e123a;
/* rgb */ color: rgb(94, 18, 58);
/* oklch */ color: oklch(33.0% 0.115 353.3);
Tailwind
colors: {
  custom: {
    50: '#8f5870',
    500: '#5e123a',
    950: '#000000',
  },
}
SCSS
$custom: #5e123a;
$custom-light: #8f5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5e123a",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 328.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.11473,
    "h": 353.3
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#5E123A
secondary
#359663
accent
#EB8F3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E123A

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

Preview Lab → · Contrast checker → · Palette generator →

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