#2E1817#2E1817

#2E1817 is a very dark, muted red. Relative luminance 0.013; OKLCH L 23.9% C 0.036 H 22.9°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2E1817
RGBrgb(46, 24, 23)
HSLhsl(3, 33%, 14%)
HSVhsv(3, 50%, 18%)
CMYKcmyk(0%, 47.8%, 50%, 82%)
CIE-LABlab(11.25, 10.91, 5.44)
CIE-LCHlch(11.25, 12.19, 26.48°)
OKLaboklab(23.91% 0.0329 0.0139)
OKLCHoklch(23.91% 0.036 22.9)
XYZxyz(1.6081, 1.2961, 0.9759)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1817 #172D2E
analogous
#2E1721 #2E1817 #2E2317
triadic
#2E1817 #172E18 #18172E
tetradic
#2E1817 #212E17 #172D2E #23172E
square
#2E1817 #212E17 #172D2E #23172E
split-complementary
#2E1817 #172E23 #17212E
monochromatic
#140B0A #140B0A #2E1817 #572D2B #804340

Accessibility & contrast

On white

16.68
#2E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2E1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1817
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1817#FFFFFF#000000##FFFFFF
##2E18171.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B17
Deuteranopia (green-blind)
#222017
Tritanopia (blue-blind)
#321518
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2e1817;
/* rgb */ color: rgb(46, 24, 23);
/* oklch */ color: oklch(23.9% 0.036 22.9);
Tailwind
colors: {
  custom: {
    50: '#685553',
    500: '#2e1817',
    950: '#000000',
  },
}
SCSS
$custom: #2e1817;
$custom-light: #685553;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1817",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 2.609,
    "s": 33.333,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23906,
    "c": 0.03574,
    "h": 22.9
  },
  "luminance": 0.01296
}

Semantic roles & 50–950 ramp

primary
#2E1817
secondary
#3E6263
accent
#C5C95E
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060302
muted
#7A7878

Preview Lab

Preview with #2E1817

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

Preview Lab → · Contrast checker → · Palette generator →

#2E1817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva