#5E1234#5E1234

#5E1234 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.112 H 358.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5E1234
RGBrgb(94, 18, 52)
HSLhsl(333, 68%, 22%)
HSVhsv(333, 81%, 37%)
CMYKcmyk(0%, 80.9%, 44.7%, 63.1%)
CIE-LABlab(20.29, 36.43, -1.34)
CIE-LCHlch(20.29, 36.46, 357.89°)
OKLaboklab(32.75% 0.1119 -0.0031)
OKLCHoklch(32.75% 0.112 358.4)
XYZxyz(5.4526, 3.0609, 3.5518)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1234 #125E3C
analogous
#5E125A #5E1234 #5E1612
triadic
#5E1234 #345E12 #12345E
tetradic
#5E1234 #5A5E12 #125E3C #16125E
square
#5E1234 #5A5E12 #125E3C #16125E
split-complementary
#5E1234 #125E16 #125A5E
monochromatic
#1A050E #2B0818 #5E1234 #911C50 #C5266D

Accessibility & contrast

On white

13.03
#5E1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5E1234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1234
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1234#FFFFFF#000000##FFFFFF
##5E12341.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222835
Deuteranopia (green-blind)
#373632
Tritanopia (blue-blind)
#660621
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1234;
/* rgb */ color: rgb(94, 18, 52);
/* oklch */ color: oklch(32.8% 0.112 358.4);
Tailwind
colors: {
  custom: {
    50: '#90586b',
    500: '#5e1234',
    950: '#000000',
  },
}
SCSS
$custom: #5e1234;
$custom-light: #90586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1234",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 333.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32752,
    "c": 0.11196,
    "h": 358.4
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#5E1234
secondary
#35966B
accent
#EB9D3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1234

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

Preview Lab → · Contrast checker → · Palette generator →

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