#2E050F#2E050F

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

Color values

HEX#2E050F
RGBrgb(46, 5, 15)
HSLhsl(345, 80%, 10%)
HSVhsv(345, 89%, 18%)
CMYKcmyk(0%, 89.1%, 67.4%, 82%)
CIE-LABlab(6.54, 21.41, 3.77)
CIE-LCHlch(6.54, 21.73, 9.99°)
OKLaboklab(20.21% 0.0662 0.0124)
OKLCHoklch(20.21% 0.067 10.6)
XYZxyz(1.2673, 0.7241, 0.5249)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E050F #052E24
analogous
#2E0523 #2E050F #2E1005
triadic
#2E050F #0F2E05 #050F2E
tetradic
#2E050F #232E05 #052E24 #10052E
square
#2E050F #232E05 #052E24 #10052E
split-complementary
#2E050F #052E10 #05232E
monochromatic
#1C0309 #1C0309 #2E050F #650B21 #9C1133

Accessibility & contrast

On white

18.34
#2E050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E050F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E050F#FFFFFF#000000##FFFFFF
##2E050F1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0F0F
Deuteranopia (green-blind)
#1A180E
Tritanopia (blue-blind)
#330009
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2e050f;
/* rgb */ color: rgb(46, 5, 15);
/* oklch */ color: oklch(20.2% 0.067 10.6);
Tailwind
colors: {
  custom: {
    50: '#6a494e',
    500: '#2e050f',
    950: '#000000',
  },
}
SCSS
$custom: #2e050f;
$custom-light: #6a494e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e050f",
  "rgb": {
    "r": 46,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 345.366,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.20208,
    "c": 0.06732,
    "h": 10.6
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#2E050F
secondary
#1F705C
accent
#F7C731
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2E050F

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

Preview Lab → · Contrast checker → · Palette generator →

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