#2F131A#2F131A

#2F131A is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.1% C 0.046 H 5.5°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#2F131A
RGBrgb(47, 19, 26)
HSLhsl(345, 42%, 13%)
HSVhsv(345, 60%, 18%)
CMYKcmyk(0%, 59.6%, 44.7%, 81.6%)
CIE-LABlab(10.14, 15.23, 1.65)
CIE-LCHlch(10.14, 15.32, 6.20°)
OKLaboklab(23.13% 0.0463 0.0045)
OKLCHoklch(23.13% 0.046 5.5)
XYZxyz(1.5917, 1.1448, 1.1142)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F131A #132F28
analogous
#2F1328 #2F131A #2F1A13
triadic
#2F131A #1A2F13 #131A2F
tetradic
#2F131A #282F13 #132F28 #1A132F
square
#2F131A #282F13 #132F28 #1A132F
split-complementary
#2F131A #132F1A #13282F
monochromatic
#16090C #16090C #2F131A #5B2532 #86364A

Accessibility & contrast

On white

17.09
#2F131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2F131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F131A
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F131A#FFFFFF#000000##FFFFFF
##2F131A1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18181A
Deuteranopia (green-blind)
#1F1E19
Tritanopia (blue-blind)
#331016
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f131a;
/* rgb */ color: rgb(47, 19, 26);
/* oklch */ color: oklch(23.1% 0.046 5.5);
Tailwind
colors: {
  custom: {
    50: '#695156',
    500: '#2f131a',
    950: '#000000',
  },
}
SCSS
$custom: #2f131a;
$custom-light: #695156;
$custom-dark: #000000;
JSON
{
  "hex": "#2f131a",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 345,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23132,
    "c": 0.04649,
    "h": 5.5
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#2F131A
secondary
#37665B
accent
#D2B356
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2F131A

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

Preview Lab → · Contrast checker → · Palette generator →

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