#2A151A#2A151A

#2A151A is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.7% C 0.035 H 4.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2A151A
RGBrgb(42, 21, 26)
HSLhsl(346, 33%, 12%)
HSVhsv(346, 50%, 16%)
CMYKcmyk(0%, 50%, 38.1%, 83.5%)
CIE-LABlab(9.82, 11.53, 1.08)
CIE-LCHlch(9.82, 11.58, 5.36°)
OKLaboklab(22.71% 0.0349 0.003)
OKLCHoklch(22.71% 0.035 4.9)
XYZxyz(1.4095, 1.1033, 1.1158)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A151A #152A25
analogous
#2A1525 #2A151A #2A1B15
triadic
#2A151A #1A2A15 #151A2A
tetradic
#2A151A #252A15 #152A25 #1B152A
square
#2A151A #252A15 #152A25 #1B152A
split-complementary
#2A151A #152A1B #15252A
monochromatic
#140A0D #140A0D #2A151A #532933 #7C3E4D

Accessibility & contrast

On white

17.20
#2A151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A151A
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A151A#FFFFFF#000000##FFFFFF
##2A151A1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191A
Deuteranopia (green-blind)
#1D1D1A
Tritanopia (blue-blind)
#2D1317
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a151a;
/* rgb */ color: rgb(42, 21, 26);
/* oklch */ color: oklch(22.7% 0.035 4.9);
Tailwind
colors: {
  custom: {
    50: '#645256',
    500: '#2a151a',
    950: '#000000',
  },
}
SCSS
$custom: #2a151a;
$custom-light: #645256;
$custom-dark: #000000;
JSON
{
  "hex": "#2a151a",
  "rgb": {
    "r": 42,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 345.714,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22708,
    "c": 0.03507,
    "h": 4.9
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2A151A
secondary
#3B5F57
accent
#C9B05E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A151A

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

Preview Lab → · Contrast checker → · Palette generator →

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