#2A1818#2A1818

#2A1818 is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.3% C 0.029 H 19.5°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#2A1818
RGBrgb(42, 24, 24)
HSLhsl(0, 27%, 13%)
HSVhsv(0, 43%, 16%)
CMYKcmyk(0%, 42.9%, 42.9%, 83.5%)
CIE-LABlab(10.64, 9.07, 3.75)
CIE-LCHlch(10.64, 9.81, 22.49°)
OKLaboklab(23.31% 0.0275 0.0098)
OKLCHoklch(23.31% 0.029 19.5)
XYZxyz(1.4464, 1.2116, 1.0216)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1818 #182A2A
analogous
#2A1821 #2A1818 #2A2118
triadic
#2A1818 #182A18 #18182A
tetradic
#2A1818 #212A18 #182A2A #21182A
square
#2A1818 #212A18 #182A2A #21182A
split-complementary
#2A1818 #182A21 #18212A
monochromatic
#130B0B #130B0B #2A1818 #512E2E #784545

Accessibility & contrast

On white

16.91
#2A1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2A1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1818
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1818#FFFFFF#000000##FFFFFF
##2A18181.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B18
Deuteranopia (green-blind)
#201E18
Tritanopia (blue-blind)
#2D1618
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a1818;
/* rgb */ color: rgb(42, 24, 24);
/* oklch */ color: oklch(23.3% 0.029 19.5);
Tailwind
colors: {
  custom: {
    50: '#645554',
    500: '#2a1818',
    950: '#000000',
  },
}
SCSS
$custom: #2a1818;
$custom-light: #645554;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1818",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23313,
    "c": 0.0292,
    "h": 19.5
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#2A1818
secondary
#405E5E
accent
#C4C464
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050302
muted
#7A7878

Preview Lab

Preview with #2A1818

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

Preview Lab → · Contrast checker → · Palette generator →

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