#5E122D#5E122D

#5E122D is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.110 H 4.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5E122D
RGBrgb(94, 18, 45)
HSLhsl(339, 68%, 22%)
HSVhsv(339, 81%, 37%)
CMYKcmyk(0%, 80.9%, 52.1%, 63.1%)
CIE-LABlab(20.05, 35.69, 3.25)
CIE-LCHlch(20.05, 35.84, 5.21°)
OKLaboklab(32.51% 0.1092 0.0087)
OKLCHoklch(32.51% 0.11 4.5)
XYZxyz(5.3065, 3.0025, 2.7822)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E122D #125E43
analogous
#5E1253 #5E122D #5E1D12
triadic
#5E122D #2D5E12 #122D5E
tetradic
#5E122D #535E12 #125E43 #1D125E
square
#5E122D #535E12 #125E43 #1D125E
split-complementary
#5E122D #125E1D #12535E
monochromatic
#1A050C #2B0814 #5E122D #911C46 #C5265E

Accessibility & contrast

On white

13.12
#5E122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E122D
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E122D#FFFFFF#000000##FFFFFF
##5E122D1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#67021E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e122d;
/* rgb */ color: rgb(94, 18, 45);
/* oklch */ color: oklch(32.5% 0.110 4.5);
Tailwind
colors: {
  custom: {
    50: '#905865',
    500: '#5e122d',
    950: '#000000',
  },
}
SCSS
$custom: #5e122d;
$custom-light: #905865;
$custom-dark: #000000;
JSON
{
  "hex": "#5e122d",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 338.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.10955,
    "h": 4.5
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#5E122D
secondary
#359674
accent
#EBAD3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E122D

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

Preview Lab → · Contrast checker → · Palette generator →

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