#5E1127#5E1127

#5E1127 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 9.5°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#5E1127
RGBrgb(94, 17, 39)
HSLhsl(343, 69%, 22%)
HSVhsv(343, 82%, 37%)
CMYKcmyk(0%, 81.9%, 58.5%, 63.1%)
CIE-LABlab(19.75, 35.50, 7.08)
CIE-LCHlch(19.75, 36.20, 11.27°)
OKLaboklab(32.23% 0.1078 0.018)
OKLCHoklch(32.23% 0.109 9.5)
XYZxyz(5.1832, 2.9278, 2.2113)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1127 #115E48
analogous
#5E114E #5E1127 #5E2211
triadic
#5E1127 #275E11 #11275E
tetradic
#5E1127 #4E5E11 #115E48 #22115E
square
#5E1127 #4E5E11 #115E48 #22115E
split-complementary
#5E1127 #115E22 #114E5E
monochromatic
#1A050B #2A0811 #5E1127 #921A3D #C62452

Accessibility & contrast

On white

13.25
#5E1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1127
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1127#FFFFFF#000000##FFFFFF
##5E11271.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252627
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#67001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1127;
/* rgb */ color: rgb(94, 17, 39);
/* oklch */ color: oklch(32.2% 0.109 9.5);
Tailwind
colors: {
  custom: {
    50: '#915760',
    500: '#5e1127',
    950: '#000000',
  },
}
SCSS
$custom: #5e1127;
$custom-light: #915760;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1127",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 342.857,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32226,
    "c": 0.10931,
    "h": 9.5
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#5E1127
secondary
#34977B
accent
#ECBA3C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5E1127

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

Preview Lab → · Contrast checker → · Palette generator →

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