#2F161B#2F161B

#2F161B is a very dark, muted red. Relative luminance 0.013; OKLCH L 23.8% C 0.041 H 7.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#2F161B
RGBrgb(47, 22, 27)
HSLhsl(348, 36%, 14%)
HSVhsv(348, 53%, 18%)
CMYKcmyk(0%, 53.2%, 42.6%, 81.6%)
CIE-LABlab(10.97, 13.38, 2.10)
CIE-LCHlch(10.97, 13.55, 8.91°)
OKLaboklab(23.77% 0.0406 0.0056)
OKLCHoklch(23.77% 0.041 7.9)
XYZxyz(1.6571, 1.2574, 1.1921)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F161B #162F2A
analogous
#2F1627 #2F161B #2F1D16
triadic
#2F161B #1B2F16 #161B2F
tetradic
#2F161B #272F16 #162F2A #1D162F
square
#2F161B #272F16 #162F2A #1D162F
split-complementary
#2F161B #162F1D #16272F
monochromatic
#150A0C #150A0C #2F161B #592A33 #823D4B

Accessibility & contrast

On white

16.78
#2F161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F161B
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F161B#FFFFFF#000000##FFFFFF
##2F161B1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1B
Deuteranopia (green-blind)
#211F1A
Tritanopia (blue-blind)
#331418
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f161b;
/* rgb */ color: rgb(47, 22, 27);
/* oklch */ color: oklch(23.8% 0.041 7.9);
Tailwind
colors: {
  custom: {
    50: '#695357',
    500: '#2f161b',
    950: '#000000',
  },
}
SCSS
$custom: #2f161b;
$custom-light: #695357;
$custom-dark: #000000;
JSON
{
  "hex": "#2f161b",
  "rgb": {
    "r": 47,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 348,
    "s": 36.232,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23772,
    "c": 0.04097,
    "h": 7.9
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#2F161B
secondary
#3C655D
accent
#CCB65C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F161B

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

Preview Lab → · Contrast checker → · Palette generator →

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