#5E0F2A#5E0F2A

#5E0F2A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.112 H 6.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5E0F2A
RGBrgb(94, 15, 42)
HSLhsl(339, 72%, 21%)
HSVhsv(339, 84%, 37%)
CMYKcmyk(0%, 84%, 55.3%, 63.1%)
CIE-LABlab(19.59, 36.45, 4.73)
CIE-LCHlch(19.59, 36.76, 7.39°)
OKLaboklab(32.14% 0.1113 0.0123)
OKLCHoklch(32.14% 0.112 6.3)
XYZxyz(5.2053, 2.8892, 2.4736)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F2A #0F5E43
analogous
#5E0F52 #5E0F2A #5E1C0F
triadic
#5E0F2A #2A5E0F #0F2A5E
tetradic
#5E0F2A #525E0F #0F5E43 #1C0F5E
square
#5E0F2A #525E0F #0F5E43 #1C0F5E
split-complementary
#5E0F2A #0F5E1C #0F525E
monochromatic
#1A040C #290712 #5E0F2A #931742 #C82059

Accessibility & contrast

On white

13.31
#5E0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5E0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F2A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F2A#FFFFFF#000000##FFFFFF
##5E0F2A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24252B
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e0f2a;
/* rgb */ color: rgb(94, 15, 42);
/* oklch */ color: oklch(32.1% 0.112 6.3);
Tailwind
colors: {
  custom: {
    50: '#915763',
    500: '#5e0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f2a;
$custom-light: #915763;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f2a",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 339.494,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32137,
    "c": 0.112,
    "h": 6.3
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#5E0F2A
secondary
#319775
accent
#EFB139
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5E0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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