#5E123C#5E123C

#5E123C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.116 H 351.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5E123C
RGBrgb(94, 18, 60)
HSLhsl(327, 68%, 22%)
HSVhsv(327, 81%, 37%)
CMYKcmyk(0%, 80.9%, 36.2%, 63.1%)
CIE-LABlab(20.59, 37.39, -6.48)
CIE-LCHlch(20.59, 37.95, 350.17°)
OKLaboklab(33.08% 0.1146 -0.0167)
OKLCHoklch(33.08% 0.116 351.7)
XYZxyz(5.6483, 3.1392, 4.5826)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E123C #125E34
analogous
#5A125E #5E123C #5E1216
triadic
#5E123C #3C5E12 #123C5E
tetradic
#5E123C #5E5A12 #125E34 #12165E
square
#5E123C #5E5A12 #125E34 #12165E
split-complementary
#5E123C #165E12 #125E5A
monochromatic
#1A0510 #2B081B #5E123C #911C5D #C5267E

Accessibility & contrast

On white

12.90
#5E123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E123C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E123C#FFFFFF#000000##FFFFFF
##5E123C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293D
Deuteranopia (green-blind)
#35373A
Tritanopia (blue-blind)
#660C25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e123c;
/* rgb */ color: rgb(94, 18, 60);
/* oklch */ color: oklch(33.1% 0.116 351.7);
Tailwind
colors: {
  custom: {
    50: '#8f5971',
    500: '#5e123c',
    950: '#000000',
  },
}
SCSS
$custom: #5e123c;
$custom-light: #8f5971;
$custom-dark: #000000;
JSON
{
  "hex": "#5e123c",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 326.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.11578,
    "h": 351.7
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#5E123C
secondary
#359661
accent
#EB8B3D
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E123C

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

Preview Lab → · Contrast checker → · Palette generator →

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