#5E122A#5E122A

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

Color values

HEX#5E122A
RGBrgb(94, 18, 42)
HSLhsl(341, 68%, 22%)
HSVhsv(341, 81%, 37%)
CMYKcmyk(0%, 80.9%, 55.3%, 63.1%)
CIE-LABlab(19.96, 35.41, 5.25)
CIE-LCHlch(19.96, 35.80, 8.43°)
OKLaboklab(32.41% 0.108 0.0136)
OKLCHoklch(32.41% 0.109 7.2)
XYZxyz(5.2508, 2.9802, 2.4888)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E122A #125E46
analogous
#5E1250 #5E122A #5E2012
triadic
#5E122A #2A5E12 #122A5E
tetradic
#5E122A #505E12 #125E46 #20125E
square
#5E122A #505E12 #125E46 #20125E
split-complementary
#5E122A #125E20 #12505E
monochromatic
#1A050B #2B0813 #5E122A #911C41 #C52658

Accessibility & contrast

On white

13.16
#5E122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E122A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E122A#FFFFFF#000000##FFFFFF
##5E122A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e122a;
/* rgb */ color: rgb(94, 18, 42);
/* oklch */ color: oklch(32.4% 0.109 7.2);
Tailwind
colors: {
  custom: {
    50: '#905863',
    500: '#5e122a',
    950: '#000000',
  },
}
SCSS
$custom: #5e122a;
$custom-light: #905863;
$custom-dark: #000000;
JSON
{
  "hex": "#5e122a",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 341.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.10881,
    "h": 7.2
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#5E122A
secondary
#359678
accent
#EBB43D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E122A

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

Preview Lab → · Contrast checker → · Palette generator →

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