#2E050B#2E050B

#2E050B is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.067 H 16.6°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#2E050B
RGBrgb(46, 5, 11)
HSLhsl(351, 80%, 10%)
HSVhsv(351, 89%, 18%)
CMYKcmyk(0%, 89.1%, 76.1%, 82%)
CIE-LABlab(6.45, 21.00, 5.55)
CIE-LCHlch(6.45, 21.72, 14.81°)
OKLaboklab(20.09% 0.0642 0.0192)
OKLCHoklch(20.09% 0.067 16.6)
XYZxyz(1.2415, 0.7137, 0.3889)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E050B #052E28
analogous
#2E051F #2E050B #2E1405
triadic
#2E050B #0B2E05 #050B2E
tetradic
#2E050B #1F2E05 #052E28 #14052E
square
#2E050B #1F2E05 #052E28 #14052E
split-complementary
#2E050B #052E14 #051F2E
monochromatic
#1C0307 #1C0307 #2E050B #650B18 #9C1125

Accessibility & contrast

On white

18.38
#2E050B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E050B
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E050B#FFFFFF#000000##FFFFFF
##2E050B1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0B
Deuteranopia (green-blind)
#1A170A
Tritanopia (blue-blind)
#330007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e050b;
/* rgb */ color: rgb(46, 5, 11);
/* oklch */ color: oklch(20.1% 0.067 16.6);
Tailwind
colors: {
  custom: {
    50: '#6a484c',
    500: '#2e050b',
    950: '#000000',
  },
}
SCSS
$custom: #2e050b;
$custom-light: #6a484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e050b",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 11
  },
  "hsl": {
    "h": 351.22,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20094,
    "c": 0.06698,
    "h": 16.6
  },
  "luminance": 0.00714
}

Semantic roles & 50–950 ramp

primary
#2E050B
secondary
#1F7064
accent
#F7DA31
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E050B

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

Preview Lab → · Contrast checker → · Palette generator →

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