#2E050C#2E050C

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

Color values

HEX#2E050C
RGBrgb(46, 5, 12)
HSLhsl(350, 80%, 10%)
HSVhsv(350, 89%, 18%)
CMYKcmyk(0%, 89.1%, 73.9%, 82%)
CIE-LABlab(6.47, 21.10, 5.14)
CIE-LCHlch(6.47, 21.71, 13.70°)
OKLaboklab(20.12% 0.0647 0.0175)
OKLCHoklch(20.12% 0.067 15.2)
XYZxyz(1.2475, 0.7161, 0.4203)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E050C #052E27
analogous
#2E0521 #2E050C #2E1205
triadic
#2E050C #0C2E05 #050C2E
tetradic
#2E050C #212E05 #052E27 #12052E
square
#2E050C #212E05 #052E27 #12052E
split-complementary
#2E050C #052E12 #05212E
monochromatic
#1C0307 #1C0307 #2E050C #650B1A #9C1129

Accessibility & contrast

On white

18.37
#2E050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E050C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E050C#FFFFFF#000000##FFFFFF
##2E050C1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#1A170B
Tritanopia (blue-blind)
#330008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e050c;
/* rgb */ color: rgb(46, 5, 12);
/* oklch */ color: oklch(20.1% 0.067 15.2);
Tailwind
colors: {
  custom: {
    50: '#6a484c',
    500: '#2e050c',
    950: '#000000',
  },
}
SCSS
$custom: #2e050c;
$custom-light: #6a484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e050c",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 349.756,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.2012,
    "c": 0.06702,
    "h": 15.2
  },
  "luminance": 0.00716
}

Semantic roles & 50–950 ramp

primary
#2E050C
secondary
#1F7062
accent
#F7D531
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E050C

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

Preview Lab → · Contrast checker → · Palette generator →

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