#5E0D28#5E0D28

#5E0D28 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.113 H 7.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#5E0D28
RGBrgb(94, 13, 40)
HSLhsl(340, 76%, 21%)
HSVhsv(340, 86%, 37%)
CMYKcmyk(0%, 86.2%, 57.4%, 63.1%)
CIE-LABlab(19.31, 36.91, 5.75)
CIE-LCHlch(19.31, 37.35, 8.86°)
OKLaboklab(31.91% 0.1125 0.0148)
OKLCHoklch(31.91% 0.113 7.5)
XYZxyz(5.1435, 2.8215, 2.2808)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D28 #0D5E43
analogous
#5E0D50 #5E0D28 #5E1A0D
triadic
#5E0D28 #285E0D #0D285E
tetradic
#5E0D28 #505E0D #0D5E43 #1A0D5E
square
#5E0D28 #505E0D #0D5E43 #1A0D5E
split-complementary
#5E0D28 #0D5E1A #0D505E
monochromatic
#1B040B #280611 #5E0D28 #94143F #CA1C56

Accessibility & contrast

On white

13.43
#5E0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5E0D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D28
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D28#FFFFFF#000000##FFFFFF
##5E0D281.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232529
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#670019
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e0d28;
/* rgb */ color: rgb(94, 13, 40);
/* oklch */ color: oklch(31.9% 0.113 7.5);
Tailwind
colors: {
  custom: {
    50: '#915661',
    500: '#5e0d28',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d28;
$custom-light: #915661;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d28",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31912,
    "c": 0.11348,
    "h": 7.5
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#5E0D28
secondary
#2F9875
accent
#F2B336
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5E0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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