#5E1232#5E1232

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

Color values

HEX#5E1232
RGBrgb(94, 18, 50)
HSLhsl(335, 68%, 22%)
HSVhsv(335, 81%, 37%)
CMYKcmyk(0%, 80.9%, 46.8%, 63.1%)
CIE-LABlab(20.22, 36.21, -0.04)
CIE-LCHlch(20.22, 36.21, 359.94°)
OKLaboklab(32.68% 0.1112 0.0003)
OKLCHoklch(32.68% 0.111 0.2)
XYZxyz(5.4085, 3.0433, 3.3196)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1232 #125E3E
analogous
#5E1258 #5E1232 #5E1812
triadic
#5E1232 #325E12 #12325E
tetradic
#5E1232 #585E12 #125E3E #18125E
square
#5E1232 #585E12 #125E3E #18125E
split-complementary
#5E1232 #125E18 #12585E
monochromatic
#1A050E #2B0817 #5E1232 #911C4D #C52669

Accessibility & contrast

On white

13.05
#5E1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1232
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1232#FFFFFF#000000##FFFFFF
##5E12321.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232733
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#670520
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1232;
/* rgb */ color: rgb(94, 18, 50);
/* oklch */ color: oklch(32.7% 0.111 0.2);
Tailwind
colors: {
  custom: {
    50: '#905869',
    500: '#5e1232',
    950: '#000000',
  },
}
SCSS
$custom: #5e1232;
$custom-light: #905869;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1232",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 334.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32678,
    "c": 0.11118,
    "h": 0.2
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#5E1232
secondary
#35966E
accent
#EBA23D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1232

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

Preview Lab → · Contrast checker → · Palette generator →

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