#2F181D#2F181D

#2F181D is a very dark, muted red. Relative luminance 0.013; OKLCH L 24.3% C 0.038 H 6.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#2F181D
RGBrgb(47, 24, 29)
HSLhsl(347, 32%, 14%)
HSVhsv(347, 49%, 18%)
CMYKcmyk(0%, 48.9%, 38.3%, 81.6%)
CIE-LABlab(11.60, 12.34, 1.50)
CIE-LCHlch(11.60, 12.43, 6.94°)
OKLaboklab(24.27% 0.0374 0.0041)
OKLCHoklch(24.27% 0.038 6.2)
XYZxyz(1.7208, 1.3464, 1.3314)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F181D #182F2A
analogous
#2F1829 #2F181D #2F1F18
triadic
#2F181D #1D2F18 #181D2F
tetradic
#2F181D #292F18 #182F2A #1F182F
square
#2F181D #292F18 #182F2A #1F182F
split-complementary
#2F181D #182F1F #18292F
monochromatic
#140A0C #140A0C #2F181D #582D36 #80414F

Accessibility & contrast

On white

16.55
#2F181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F181D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F181D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F181D#FFFFFF#000000##FFFFFF
##2F181D1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1C1D
Deuteranopia (green-blind)
#21201D
Tritanopia (blue-blind)
#33161A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f181d;
/* rgb */ color: rgb(47, 24, 29);
/* oklch */ color: oklch(24.3% 0.038 6.2);
Tailwind
colors: {
  custom: {
    50: '#685558',
    500: '#2f181d',
    950: '#000000',
  },
}
SCSS
$custom: #2f181d;
$custom-light: #685558;
$custom-dark: #000000;
JSON
{
  "hex": "#2f181d",
  "rgb": {
    "r": 47,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 346.957,
    "s": 32.394,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24267,
    "c": 0.03762,
    "h": 6.2
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#2F181D
secondary
#3F645C
accent
#C9B25F
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #2F181D

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

Preview Lab → · Contrast checker → · Palette generator →

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