#2F211F#2F211F

#2F211F is a dark, muted red. Relative luminance 0.018; OKLCH L 26.4% C 0.022 H 27.9°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#2F211F
RGBrgb(47, 33, 31)
HSLhsl(8, 21%, 15%)
HSVhsv(8, 34%, 18%)
CMYKcmyk(0%, 29.8%, 34%, 81.6%)
CIE-LABlab(14.35, 6.37, 3.98)
CIE-LCHlch(14.35, 7.51, 31.98°)
OKLaboklab(26.41% 0.0196 0.0104)
OKLCHoklch(26.41% 0.022 27.9)
XYZxyz(1.9635, 1.7911, 1.5383)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F211F #1F2D2F
analogous
#2F1F25 #2F211F #2F291F
triadic
#2F211F #1F2F21 #211F2F
tetradic
#2F211F #252F1F #1F2D2F #291F2F
square
#2F211F #252F1F #1F2D2F #291F2F
split-complementary
#2F211F #1F2F29 #1F252F
monochromatic
#120D0C #120D0C #2F211F #543B37 #795550

Accessibility & contrast

On white

15.46
#2F211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F211F
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F211F#FFFFFF#000000##FFFFFF
##2F211F1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f211f;
/* rgb */ color: rgb(47, 33, 31);
/* oklch */ color: oklch(26.4% 0.022 27.9);
Tailwind
colors: {
  custom: {
    50: '#685c5a',
    500: '#2f211f',
    950: '#000000',
  },
}
SCSS
$custom: #2f211f;
$custom-light: #685c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f211f",
  "rgb": {
    "r": 47,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 7.5,
    "s": 20.513,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26406,
    "c": 0.02212,
    "h": 27.9
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#2F211F
secondary
#495E61
accent
#B3BD6B
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060403
muted
#7A7978

Preview Lab

Preview with #2F211F

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

Preview Lab → · Contrast checker → · Palette generator →

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