#5E1225#5E1225

#5E1225 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.3% C 0.108 H 11.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5E1225
RGBrgb(94, 18, 37)
HSLhsl(345, 68%, 22%)
HSVhsv(345, 81%, 37%)
CMYKcmyk(0%, 80.9%, 60.6%, 63.1%)
CIE-LABlab(19.83, 34.97, 8.60)
CIE-LCHlch(19.83, 36.01, 13.81°)
OKLaboklab(32.27% 0.1058 0.0215)
OKLCHoklch(32.27% 0.108 11.5)
XYZxyz(5.1668, 2.9466, 2.0466)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1225 #125E4B
analogous
#5E124B #5E1225 #5E2512
triadic
#5E1225 #255E12 #12255E
tetradic
#5E1225 #4B5E12 #125E4B #25125E
square
#5E1225 #4B5E12 #125E4B #25125E
split-complementary
#5E1225 #125E25 #124B5E
monochromatic
#1A050A #2B0811 #5E1225 #911C39 #C5264D

Accessibility & contrast

On white

13.21
#5E1225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1225
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1225#FFFFFF#000000##FFFFFF
##5E12251.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1225;
/* rgb */ color: rgb(94, 18, 37);
/* oklch */ color: oklch(32.3% 0.108 11.5);
Tailwind
colors: {
  custom: {
    50: '#91585f',
    500: '#5e1225',
    950: '#000000',
  },
}
SCSS
$custom: #5e1225;
$custom-light: #91585f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1225",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 37
  },
  "hsl": {
    "h": 345,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.10796,
    "h": 11.5
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#5E1225
secondary
#35967E
accent
#EBBF3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5E1225

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

Preview Lab → · Contrast checker → · Palette generator →

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