#2F151B#2F151B

#2F151B is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.6% C 0.043 H 6.2°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#2F151B
RGBrgb(47, 21, 27)
HSLhsl(346, 38%, 13%)
HSVhsv(346, 55%, 18%)
CMYKcmyk(0%, 55.3%, 42.6%, 81.6%)
CIE-LABlab(10.70, 14.06, 1.71)
CIE-LCHlch(10.70, 14.16, 6.92°)
OKLaboklab(23.57% 0.0427 0.0046)
OKLCHoklch(23.57% 0.043 6.2)
XYZxyz(1.6384, 1.2199, 1.1859)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F151B #152F29
analogous
#2F1528 #2F151B #2F1C15
triadic
#2F151B #1B2F15 #151B2F
tetradic
#2F151B #282F15 #152F29 #1C152F
square
#2F151B #282F15 #152F29 #1C152F
split-complementary
#2F151B #152F1C #15282F
monochromatic
#15090C #15090C #2F151B #592833 #843B4C

Accessibility & contrast

On white

16.88
#2F151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F151B
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F151B#FFFFFF#000000##FFFFFF
##2F151B1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1B
Deuteranopia (green-blind)
#201F1A
Tritanopia (blue-blind)
#331317
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f151b;
/* rgb */ color: rgb(47, 21, 27);
/* oklch */ color: oklch(23.6% 0.043 6.2);
Tailwind
colors: {
  custom: {
    50: '#695357',
    500: '#2f151b',
    950: '#000000',
  },
}
SCSS
$custom: #2f151b;
$custom-light: #695357;
$custom-dark: #000000;
JSON
{
  "hex": "#2f151b",
  "rgb": {
    "r": 47,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 346.154,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23567,
    "c": 0.04291,
    "h": 6.2
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#2F151B
secondary
#3B655B
accent
#CEB35A
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F151B

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

Preview Lab → · Contrast checker → · Palette generator →

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