#2A181C#2A181C

#2A181C is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.5% C 0.030 H 5.1°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2A181C
RGBrgb(42, 24, 28)
HSLhsl(347, 27%, 13%)
HSVhsv(347, 43%, 16%)
CMYKcmyk(0%, 42.9%, 33.3%, 83.5%)
CIE-LABlab(10.77, 9.77, 0.96)
CIE-LCHlch(10.77, 9.82, 5.59°)
OKLaboklab(23.46% 0.0295 0.0026)
OKLCHoklch(23.46% 0.03 5.1)
XYZxyz(1.4911, 1.2294, 1.2572)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A181C #182A26
analogous
#2A1825 #2A181C #2A1D18
triadic
#2A181C #1C2A18 #181C2A
tetradic
#2A181C #252A18 #182A26 #1D182A
square
#2A181C #252A18 #182A26 #1D182A
split-complementary
#2A181C #182A1D #18252A
monochromatic
#130B0D #130B0D #2A181C #512E36 #784550

Accessibility & contrast

On white

16.86
#2A181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A181C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A181C#FFFFFF#000000##FFFFFF
##2A181C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1C
Deuteranopia (green-blind)
#1F1E1C
Tritanopia (blue-blind)
#2D1719
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a181c;
/* rgb */ color: rgb(42, 24, 28);
/* oklch */ color: oklch(23.5% 0.030 5.1);
Tailwind
colors: {
  custom: {
    50: '#645557',
    500: '#2a181c',
    950: '#000000',
  },
}
SCSS
$custom: #2a181c;
$custom-light: #645557;
$custom-dark: #000000;
JSON
{
  "hex": "#2a181c",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 346.667,
    "s": 27.273,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23457,
    "c": 0.02966,
    "h": 5.1
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#2A181C
secondary
#405E57
accent
#C4AE64
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050303
muted
#7A7878

Preview Lab

Preview with #2A181C

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

Preview Lab → · Contrast checker → · Palette generator →

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