#5E1226#5E1226

#5E1226 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.108 H 10.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5E1226
RGBrgb(94, 18, 38)
HSLhsl(344, 68%, 22%)
HSVhsv(344, 81%, 37%)
CMYKcmyk(0%, 80.9%, 59.6%, 63.1%)
CIE-LABlab(19.85, 35.06, 7.93)
CIE-LCHlch(19.85, 35.94, 12.74°)
OKLaboklab(32.29% 0.1062 0.02)
OKLCHoklch(32.29% 0.108 10.6)
XYZxyz(5.1827, 2.9530, 2.1304)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1226 #125E4A
analogous
#5E124C #5E1226 #5E2412
triadic
#5E1226 #265E12 #12265E
tetradic
#5E1226 #4C5E12 #125E4A #24125E
square
#5E1226 #4C5E12 #125E4A #24125E
split-complementary
#5E1226 #125E24 #124C5E
monochromatic
#1A050A #2B0811 #5E1226 #911C3B #C52650

Accessibility & contrast

On white

13.20
#5E1226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E1226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1226
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1226#FFFFFF#000000##FFFFFF
##5E12261.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#67001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1226;
/* rgb */ color: rgb(94, 18, 38);
/* oklch */ color: oklch(32.3% 0.108 10.6);
Tailwind
colors: {
  custom: {
    50: '#915860',
    500: '#5e1226',
    950: '#000000',
  },
}
SCSS
$custom: #5e1226;
$custom-light: #915860;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1226",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 344.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32293,
    "c": 0.10809,
    "h": 10.6
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#5E1226
secondary
#35967D
accent
#EBBD3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0404
muted
#7E7979

Preview Lab

Preview with #5E1226

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

Preview Lab → · Contrast checker → · Palette generator →

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