#5E0F2F#5E0F2F

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

Color values

HEX#5E0F2F
RGBrgb(94, 15, 47)
HSLhsl(336, 72%, 21%)
HSVhsv(336, 84%, 37%)
CMYKcmyk(0%, 84%, 50%, 63.1%)
CIE-LABlab(19.75, 36.93, 1.40)
CIE-LCHlch(19.75, 36.96, 2.17°)
OKLaboklab(32.3% 0.1133 0.004)
OKLCHoklch(32.3% 0.113 2)
XYZxyz(5.3004, 2.9273, 2.9747)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F2F #0F5E3E
analogous
#5E0F57 #5E0F2F #5E170F
triadic
#5E0F2F #2F5E0F #0F2F5E
tetradic
#5E0F2F #575E0F #0F5E3E #170F5E
square
#5E0F2F #575E0F #0F5E3E #170F5E
split-complementary
#5E0F2F #0F5E17 #0F575E
monochromatic
#1A040D #290715 #5E0F2F #931749 #C82064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E0F2F#FFFFFF#000000##FFFFFF
##5E0F2F1.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)
#222630
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#67001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e0f2f;
/* rgb */ color: rgb(94, 15, 47);
/* oklch */ color: oklch(32.3% 0.113 2.0);
Tailwind
colors: {
  custom: {
    50: '#905767',
    500: '#5e0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f2f;
$custom-light: #905767;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f2f",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 335.696,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32302,
    "c": 0.11341,
    "h": 2
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#5E0F2F
secondary
#31976E
accent
#EFA539
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5E0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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