#2D221F#2D221F

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

Color values

HEX#2D221F
RGBrgb(45, 34, 31)
HSLhsl(13, 18%, 15%)
HSVhsv(13, 31%, 18%)
CMYKcmyk(0%, 24.4%, 31.1%, 82.4%)
CIE-LABlab(14.41, 4.68, 4.02)
CIE-LCHlch(14.41, 6.17, 40.70°)
OKLaboklab(26.39% 0.0145 0.0104)
OKLCHoklch(26.39% 0.018 35.7)
XYZxyz(1.9016, 1.8010, 1.5435)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D221F #1F2A2D
analogous
#2D1F23 #2D221F #2D291F
triadic
#2D221F #1F2D22 #221F2D
tetradic
#2D221F #232D1F #1F2A2D #291F2D
square
#2D221F #232D1F #1F2A2D #291F2D
split-complementary
#2D221F #1F2D29 #1F232D
monochromatic
#120E0C #120E0C #2D221F #513D38 #755951

Accessibility & contrast

On white

15.44
#2D221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2D221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D221F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D221F#FFFFFF#000000##FFFFFF
##2D221F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#27251F
Tritanopia (blue-blind)
#302121
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2d221f;
/* rgb */ color: rgb(45, 34, 31);
/* oklch */ color: oklch(26.4% 0.018 35.7);
Tailwind
colors: {
  custom: {
    50: '#665d5a',
    500: '#2d221f',
    950: '#000000',
  },
}
SCSS
$custom: #2d221f;
$custom-light: #665d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d221f",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 12.857,
    "s": 18.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26389,
    "c": 0.01789,
    "h": 35.7
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#2D221F
secondary
#495A5F
accent
#AABB6D
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060403
muted
#7A7978

Preview Lab

Preview with #2D221F

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

Preview Lab → · Contrast checker → · Palette generator →

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