#2E040E#2E040E

#2E040E is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.0% C 0.069 H 11.2°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#2E040E
RGBrgb(46, 4, 14)
HSLhsl(346, 84%, 10%)
HSVhsv(346, 91%, 18%)
CMYKcmyk(0%, 91.3%, 69.6%, 82%)
CIE-LABlab(6.32, 21.80, 3.96)
CIE-LCHlch(6.32, 22.16, 10.31°)
OKLaboklab(20.01% 0.0677 0.0134)
OKLCHoklch(20.01% 0.069 11.2)
XYZxyz(1.2495, 0.6996, 0.4846)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E040E #042E24
analogous
#2E0423 #2E040E #2E0F04
triadic
#2E040E #0E2E04 #040E2E
tetradic
#2E040E #232E04 #042E24 #0F042E
square
#2E040E #232E04 #042E24 #0F042E
split-complementary
#2E040E #042E0F #04232E
monochromatic
#1C0209 #1C0209 #2E040E #66091F #9F0E30

Accessibility & contrast

On white

18.42
#2E040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2E040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E040E
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E040E#FFFFFF#000000##FFFFFF
##2E040E1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0E
Deuteranopia (green-blind)
#1A170D
Tritanopia (blue-blind)
#330008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e040e;
/* rgb */ color: rgb(46, 4, 14);
/* oklch */ color: oklch(20.0% 0.069 11.2);
Tailwind
colors: {
  custom: {
    50: '#6a484d',
    500: '#2e040e',
    950: '#000000',
  },
}
SCSS
$custom: #2e040e;
$custom-light: #6a484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e040e",
  "rgb": {
    "r": 46,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 345.714,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20009,
    "c": 0.06904,
    "h": 11.2
  },
  "luminance": 0.00699
}

Semantic roles & 50–950 ramp

primary
#2E040E
secondary
#1D715D
accent
#FACA2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2E040E

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

Preview Lab → · Contrast checker → · Palette generator →

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