#5E1227#5E1227

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

Color values

HEX#5E1227
RGBrgb(94, 18, 39)
HSLhsl(343, 68%, 22%)
HSVhsv(343, 81%, 37%)
CMYKcmyk(0%, 80.9%, 58.5%, 63.1%)
CIE-LABlab(19.88, 35.14, 7.25)
CIE-LCHlch(19.88, 35.88, 11.66°)
OKLaboklab(32.32% 0.1067 0.0184)
OKLCHoklch(32.32% 0.108 9.8)
XYZxyz(5.1991, 2.9595, 2.2165)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1227 #125E49
analogous
#5E124D #5E1227 #5E2312
triadic
#5E1227 #275E12 #12275E
tetradic
#5E1227 #4D5E12 #125E49 #23125E
square
#5E1227 #4D5E12 #125E49 #23125E
split-complementary
#5E1227 #125E23 #124D5E
monochromatic
#1A050B #2B0812 #5E1227 #911C3C #C52652

Accessibility & contrast

On white

13.19
#5E1227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1227
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1227#FFFFFF#000000##FFFFFF
##5E12271.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1227;
/* rgb */ color: rgb(94, 18, 39);
/* oklch */ color: oklch(32.3% 0.108 9.8);
Tailwind
colors: {
  custom: {
    50: '#915860',
    500: '#5e1227',
    950: '#000000',
  },
}
SCSS
$custom: #5e1227;
$custom-light: #915860;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1227",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 343.421,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.10824,
    "h": 9.8
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#5E1227
secondary
#35967C
accent
#EBBB3D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1227

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

Preview Lab → · Contrast checker → · Palette generator →

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