#5E1231#5E1231

#5E1231 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.111 H 1.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5E1231
RGBrgb(94, 18, 49)
HSLhsl(336, 68%, 22%)
HSVhsv(336, 81%, 37%)
CMYKcmyk(0%, 80.9%, 47.9%, 63.1%)
CIE-LABlab(20.18, 36.10, 0.62)
CIE-LCHlch(20.18, 36.11, 0.98°)
OKLaboklab(32.64% 0.1108 0.002)
OKLCHoklch(32.64% 0.111 1)
XYZxyz(5.3872, 3.0348, 3.2072)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1231 #125E3F
analogous
#5E1257 #5E1231 #5E1912
triadic
#5E1231 #315E12 #12315E
tetradic
#5E1231 #575E12 #125E3F #19125E
square
#5E1231 #575E12 #125E3F #19125E
split-complementary
#5E1231 #125E19 #12575E
monochromatic
#1A050D #2B0816 #5E1231 #911C4C #C52667

Accessibility & contrast

On white

13.07
#5E1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1231
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1231#FFFFFF#000000##FFFFFF
##5E12311.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#67051F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1231;
/* rgb */ color: rgb(94, 18, 49);
/* oklch */ color: oklch(32.6% 0.111 1.0);
Tailwind
colors: {
  custom: {
    50: '#905868',
    500: '#5e1231',
    950: '#000000',
  },
}
SCSS
$custom: #5e1231;
$custom-light: #905868;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1231",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 335.526,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32642,
    "c": 0.11081,
    "h": 1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#5E1231
secondary
#35966F
accent
#EBA43D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1231

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

Preview Lab → · Contrast checker → · Palette generator →

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