#2E2222#2E2222

#2E2222 is a dark, near-neutral red. Relative luminance 0.018; OKLCH L 26.6% C 0.018 H 18.4°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2222
RGBrgb(46, 34, 34)
HSLhsl(0, 15%, 16%)
HSVhsv(0, 26%, 18%)
CMYKcmyk(0%, 26.1%, 26.1%, 82%)
CIE-LABlab(14.63, 5.74, 2.20)
CIE-LCHlch(14.63, 6.15, 21.00°)
OKLaboklab(26.62% 0.0175 0.0058)
OKLCHoklch(26.62% 0.018 18.4)
XYZxyz(1.9875, 1.8405, 1.7636)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2222 #222E2E
analogous
#2E2228 #2E2222 #2E2822
triadic
#2E2222 #222E22 #22222E
tetradic
#2E2222 #282E22 #222E2E #28222E
square
#2E2222 #282E22 #222E2E #28222E
split-complementary
#2E2222 #222E28 #22282E
monochromatic
#120D0D #120D0D #2E2222 #513C3C #745656

Accessibility & contrast

On white

15.35
#2E2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2E2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2222
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2222#FFFFFF#000000##FFFFFF
##2E22221.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242422
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#312122
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2e2222;
/* rgb */ color: rgb(46, 34, 34);
/* oklch */ color: oklch(26.6% 0.018 18.4);
Tailwind
colors: {
  custom: {
    50: '#675d5c',
    500: '#2e2222',
    950: '#000000',
  },
}
SCSS
$custom: #2e2222;
$custom-light: #675d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2222",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26621,
    "c": 0.01848,
    "h": 18.4
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#2E2222
secondary
#4D5F5F
accent
#B8B870
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #2E2222

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

Preview Lab → · Contrast checker → · Palette generator →

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