#5E122B#5E122B

#5E122B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 6.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#5E122B
RGBrgb(94, 18, 43)
HSLhsl(340, 68%, 22%)
HSVhsv(340, 81%, 37%)
CMYKcmyk(0%, 80.9%, 54.3%, 63.1%)
CIE-LABlab(19.99, 35.50, 4.58)
CIE-LCHlch(19.99, 35.80, 7.35°)
OKLaboklab(32.44% 0.1084 0.0119)
OKLCHoklch(32.44% 0.109 6.3)
XYZxyz(5.2689, 2.9874, 2.5842)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E122B #125E45
analogous
#5E1251 #5E122B #5E1F12
triadic
#5E122B #2B5E12 #122B5E
tetradic
#5E122B #515E12 #125E45 #1F125E
square
#5E122B #515E12 #125E45 #1F125E
split-complementary
#5E122B #125E1F #12515E
monochromatic
#1A050C #2B0814 #5E122B #911C42 #C5265A

Accessibility & contrast

On white

13.15
#5E122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E122B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E122B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E122B#FFFFFF#000000##FFFFFF
##5E122B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#67011D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e122b;
/* rgb */ color: rgb(94, 18, 43);
/* oklch */ color: oklch(32.4% 0.109 6.3);
Tailwind
colors: {
  custom: {
    50: '#905864',
    500: '#5e122b',
    950: '#000000',
  },
}
SCSS
$custom: #5e122b;
$custom-light: #905864;
$custom-dark: #000000;
JSON
{
  "hex": "#5e122b",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 340.263,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32441,
    "c": 0.10904,
    "h": 6.3
  },
  "luminance": 0.02987
}

Semantic roles & 50–950 ramp

primary
#5E122B
secondary
#359676
accent
#EBB23D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E122B

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

Preview Lab → · Contrast checker → · Palette generator →

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