#5E1228#5E1228

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

Color values

HEX#5E1228
RGBrgb(94, 18, 40)
HSLhsl(343, 68%, 22%)
HSVhsv(343, 81%, 37%)
CMYKcmyk(0%, 80.9%, 57.4%, 63.1%)
CIE-LABlab(19.91, 35.23, 6.58)
CIE-LCHlch(19.91, 35.84, 10.59°)
OKLaboklab(32.35% 0.1071 0.0168)
OKLCHoklch(32.35% 0.108 8.9)
XYZxyz(5.2159, 2.9662, 2.3050)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1228 #125E48
analogous
#5E124E #5E1228 #5E2212
triadic
#5E1228 #285E12 #12285E
tetradic
#5E1228 #4E5E12 #125E48 #22125E
square
#5E1228 #4E5E12 #125E48 #22125E
split-complementary
#5E1228 #125E22 #124E5E
monochromatic
#1A050B #2B0812 #5E1228 #911C3E #C52654

Accessibility & contrast

On white

13.18
#5E1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1228
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1228#FFFFFF#000000##FFFFFF
##5E12281.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262628
Deuteranopia (green-blind)
#393626
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1228;
/* rgb */ color: rgb(94, 18, 40);
/* oklch */ color: oklch(32.4% 0.108 8.9);
Tailwind
colors: {
  custom: {
    50: '#915861',
    500: '#5e1228',
    950: '#000000',
  },
}
SCSS
$custom: #5e1228;
$custom-light: #915861;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1228",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 342.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.10841,
    "h": 8.9
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#5E1228
secondary
#35967A
accent
#EBB83D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1228

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

Preview Lab → · Contrast checker → · Palette generator →

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