#2E070C#2E070C

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

Color values

HEX#2E070C
RGBrgb(46, 7, 12)
HSLhsl(352, 74%, 10%)
HSVhsv(352, 85%, 18%)
CMYKcmyk(0%, 84.8%, 73.9%, 82%)
CIE-LABlab(6.86, 20.09, 5.71)
CIE-LCHlch(6.86, 20.88, 15.88°)
OKLaboklab(20.45% 0.0607 0.0189)
OKLCHoklch(20.45% 0.064 17.3)
XYZxyz(1.2692, 0.7595, 0.4275)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E070C #072E29
analogous
#2E071F #2E070C #2E1507
triadic
#2E070C #0C2E07 #070C2E
tetradic
#2E070C #1F2E07 #072E29 #15072E
square
#2E070C #1F2E07 #072E29 #15072E
split-complementary
#2E070C #072E15 #071F2E
monochromatic
#1B0407 #1B0407 #2E070C #630F1A #981728

Accessibility & contrast

On white

18.23
#2E070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E070C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E070C#FFFFFF#000000##FFFFFF
##2E070C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100C
Deuteranopia (green-blind)
#1B180B
Tritanopia (blue-blind)
#330109
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2e070c;
/* rgb */ color: rgb(46, 7, 12);
/* oklch */ color: oklch(20.4% 0.064 17.3);
Tailwind
colors: {
  custom: {
    50: '#6a4a4c',
    500: '#2e070c',
    950: '#000000',
  },
}
SCSS
$custom: #2e070c;
$custom-light: #6a4a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e070c",
  "rgb": {
    "r": 46,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 352.308,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20449,
    "c": 0.06361,
    "h": 17.3
  },
  "luminance": 0.00759
}

Semantic roles & 50–950 ramp

primary
#2E070C
secondary
#236E64
accent
#F0D938
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E070C

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

Preview Lab → · Contrast checker → · Palette generator →

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