#5E0F2B#5E0F2B

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

Color values

HEX#5E0F2B
RGBrgb(94, 15, 43)
HSLhsl(339, 72%, 21%)
HSVhsv(339, 84%, 37%)
CMYKcmyk(0%, 84%, 54.3%, 63.1%)
CIE-LABlab(19.62, 36.54, 4.06)
CIE-LCHlch(19.62, 36.77, 6.34°)
OKLaboklab(32.17% 0.1117 0.0106)
OKLCHoklch(32.17% 0.112 5.4)
XYZxyz(5.2234, 2.8965, 2.5691)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F2B #0F5E42
analogous
#5E0F53 #5E0F2B #5E1B0F
triadic
#5E0F2B #2B5E0F #0F2B5E
tetradic
#5E0F2B #535E0F #0F5E42 #1B0F5E
square
#5E0F2B #535E0F #0F5E42 #1B0F5E
split-complementary
#5E0F2B #0F5E1B #0F535E
monochromatic
#1A040C #290713 #5E0F2B #931743 #C8205B

Accessibility & contrast

On white

13.30
#5E0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0F2B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F2B#FFFFFF#000000##FFFFFF
##5E0F2B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#67001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5e0f2b;
/* rgb */ color: rgb(94, 15, 43);
/* oklch */ color: oklch(32.2% 0.112 5.4);
Tailwind
colors: {
  custom: {
    50: '#905764',
    500: '#5e0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f2b;
$custom-light: #905764;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f2b",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 338.734,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.11224,
    "h": 5.4
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#5E0F2B
secondary
#319773
accent
#EFAE39
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5E0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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