#5E1631#5E1631

#5E1631 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.106 H 2.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5E1631
RGBrgb(94, 22, 49)
HSLhsl(338, 62%, 23%)
HSVhsv(338, 77%, 37%)
CMYKcmyk(0%, 76.6%, 47.9%, 63.1%)
CIE-LABlab(20.74, 34.56, 1.42)
CIE-LCHlch(20.74, 34.59, 2.35°)
OKLaboklab(33.05% 0.1058 0.004)
OKLCHoklch(33.05% 0.106 2.2)
XYZxyz(5.4578, 3.1760, 3.2308)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1631 #165E43
analogous
#5E1655 #5E1631 #5E1F16
triadic
#5E1631 #315E16 #16315E
tetradic
#5E1631 #555E16 #165E43 #1F165E
square
#5E1631 #555E16 #165E43 #1F165E
split-complementary
#5E1631 #165E1F #16555E
monochromatic
#19060D #2C0A17 #5E1631 #90224B #C12D65

Accessibility & contrast

On white

12.84
#5E1631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1631
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1631#FFFFFF#000000##FFFFFF
##5E16311.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262932
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#670B21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1631;
/* rgb */ color: rgb(94, 22, 49);
/* oklch */ color: oklch(33.0% 0.106 2.2);
Tailwind
colors: {
  custom: {
    50: '#905a68',
    500: '#5e1631',
    950: '#000000',
  },
}
SCSS
$custom: #5e1631;
$custom-light: #905a68;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1631",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 337.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.10592,
    "h": 2.2
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#5E1631
secondary
#3B9573
accent
#E5A843
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1631

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

Preview Lab → · Contrast checker → · Palette generator →

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