#2E070F#2E070F

#2E070F is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.5% C 0.064 H 12.5°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#2E070F
RGBrgb(46, 7, 15)
HSLhsl(348, 74%, 10%)
HSVhsv(348, 85%, 18%)
CMYKcmyk(0%, 84.8%, 67.4%, 82%)
CIE-LABlab(6.93, 20.39, 4.34)
CIE-LCHlch(6.93, 20.85, 12.02°)
OKLaboklab(20.53% 0.0622 0.0138)
OKLCHoklch(20.53% 0.064 12.5)
XYZxyz(1.2890, 0.7675, 0.5321)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E070F #072E26
analogous
#2E0722 #2E070F #2E1207
triadic
#2E070F #0F2E07 #070F2E
tetradic
#2E070F #222E07 #072E26 #12072E
square
#2E070F #222E07 #072E26 #12072E
split-complementary
#2E070F #072E12 #07222E
monochromatic
#1B0409 #1B0409 #2E070F #630F20 #981732

Accessibility & contrast

On white

18.21
#2E070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2E070F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E070F
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E070F#FFFFFF#000000##FFFFFF
##2E070F1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100F
Deuteranopia (green-blind)
#1B180E
Tritanopia (blue-blind)
#33020A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e070f;
/* rgb */ color: rgb(46, 7, 15);
/* oklch */ color: oklch(20.5% 0.064 12.5);
Tailwind
colors: {
  custom: {
    50: '#6a4a4e',
    500: '#2e070f',
    950: '#000000',
  },
}
SCSS
$custom: #2e070f;
$custom-light: #6a4a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e070f",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 347.692,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20534,
    "c": 0.06376,
    "h": 12.5
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#2E070F
secondary
#236E5E
accent
#F0CA38
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E070F

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

Preview Lab → · Contrast checker → · Palette generator →

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