#2A211F#2A211F

#2A211F is a dark, near-neutral red. Relative luminance 0.017; OKLCH L 25.8% C 0.014 H 32.7°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#2A211F
RGBrgb(42, 33, 31)
HSLhsl(11, 15%, 14%)
HSVhsv(11, 26%, 16%)
CMYKcmyk(0%, 21.4%, 26.2%, 83.5%)
CIE-LABlab(13.70, 3.90, 2.97)
CIE-LCHlch(13.70, 4.90, 37.29°)
OKLaboklab(25.75% 0.0121 0.0078)
OKLCHoklch(25.75% 0.014 32.7)
XYZxyz(1.7460, 1.6789, 1.5282)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A211F #1F282A
analogous
#2A1F23 #2A211F #2A271F
triadic
#2A211F #1F2A21 #211F2A
tetradic
#2A211F #232A1F #1F282A #271F2A
square
#2A211F #232A1F #1F282A #271F2A
split-complementary
#2A211F #1F2A27 #1F232A
monochromatic
#120E0D #120E0D #2A211F #4D3D39 #705853

Accessibility & contrast

On white

15.72
#2A211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A211F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A211F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A211F#FFFFFF#000000##FFFFFF
##2A211F1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#25241F
Tritanopia (blue-blind)
#2C2020
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a211f;
/* rgb */ color: rgb(42, 33, 31);
/* oklch */ color: oklch(25.8% 0.014 32.7);
Tailwind
colors: {
  custom: {
    50: '#635c5a',
    500: '#2a211f',
    950: '#000000',
  },
}
SCSS
$custom: #2a211f;
$custom-light: #635c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a211f",
  "rgb": {
    "r": 42,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 10.909,
    "s": 15.068,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25754,
    "c": 0.01442,
    "h": 32.7
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#2A211F
secondary
#4A585B
accent
#ABB870
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050403
muted
#797978

Preview Lab

Preview with #2A211F

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

Preview Lab → · Contrast checker → · Palette generator →

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