#5E1427#5E1427

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

Color values

HEX#5E1427
RGBrgb(94, 20, 39)
HSLhsl(345, 65%, 22%)
HSVhsv(345, 79%, 37%)
CMYKcmyk(0%, 78.7%, 58.5%, 63.1%)
CIE-LABlab(20.15, 34.38, 7.63)
CIE-LCHlch(20.15, 35.22, 12.51°)
OKLaboklab(32.52% 0.1042 0.0193)
OKLCHoklch(32.52% 0.106 10.5)
XYZxyz(5.2329, 3.0272, 2.2278)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1427 #145E4B
analogous
#5E144C #5E1427 #5E2614
triadic
#5E1427 #275E14 #14275E
tetradic
#5E1427 #4C5E14 #145E4B #26145E
square
#5E1427 #4C5E14 #145E4B #26145E
split-complementary
#5E1427 #145E26 #144C5E
monochromatic
#19050A #2C0912 #5E1427 #901F3C #C32951

Accessibility & contrast

On white

13.08
#5E1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5E1427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1427
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1427#FFFFFF#000000##FFFFFF
##5E14271.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#67021C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1427;
/* rgb */ color: rgb(94, 20, 39);
/* oklch */ color: oklch(32.5% 0.106 10.5);
Tailwind
colors: {
  custom: {
    50: '#915960',
    500: '#5e1427',
    950: '#000000',
  },
}
SCSS
$custom: #5e1427;
$custom-light: #915960;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1427",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 344.595,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.10599,
    "h": 10.5
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#5E1427
secondary
#38967E
accent
#E8BD40
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1427

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

Preview Lab → · Contrast checker → · Palette generator →

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