#2E1218#2E1218

#2E1218 is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.7% C 0.046 H 7.9°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2E1218
RGBrgb(46, 18, 24)
HSLhsl(347, 44%, 13%)
HSVhsv(347, 61%, 18%)
CMYKcmyk(0%, 60.9%, 47.8%, 82%)
CIE-LABlab(9.64, 15.13, 2.42)
CIE-LCHlch(9.64, 15.32, 9.08°)
OKLaboklab(22.69% 0.046 0.0064)
OKLCHoklch(22.69% 0.046 7.9)
XYZxyz(1.5080, 1.0796, 0.9929)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1218 #122E28
analogous
#2E1226 #2E1218 #2E1A12
triadic
#2E1218 #182E12 #12182E
tetradic
#2E1218 #262E12 #122E28 #1A122E
square
#2E1218 #262E12 #122E28 #1A122E
split-complementary
#2E1218 #122E1A #12262E
monochromatic
#16090B #16090B #2E1218 #5A232F #863446

Accessibility & contrast

On white

17.27
#2E1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2E1218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1218
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1218#FFFFFF#000000##FFFFFF
##2E12181.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171718
Deuteranopia (green-blind)
#1E1D17
Tritanopia (blue-blind)
#320F14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2e1218;
/* rgb */ color: rgb(46, 18, 24);
/* oklch */ color: oklch(22.7% 0.046 7.9);
Tailwind
colors: {
  custom: {
    50: '#685054',
    500: '#2e1218',
    950: '#000000',
  },
}
SCSS
$custom: #2e1218;
$custom-light: #685054;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1218",
  "rgb": {
    "r": 46,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 347.143,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2269,
    "c": 0.04639,
    "h": 7.9
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#2E1218
secondary
#36665C
accent
#D3B854
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2E1218

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

Preview Lab → · Contrast checker → · Palette generator →

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