#2F040B#2F040B

#2F040B is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.070 H 16.0°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2F040B
RGBrgb(47, 4, 11)
HSLhsl(350, 84%, 10%)
HSVhsv(350, 91%, 18%)
CMYKcmyk(0%, 91.5%, 76.6%, 81.6%)
CIE-LABlab(6.46, 22.02, 5.60)
CIE-LCHlch(6.46, 22.72, 14.27°)
OKLaboklab(20.15% 0.0672 0.0193)
OKLCHoklch(20.15% 0.07 16)
XYZxyz(1.2762, 0.7155, 0.3875)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F040B #042F28
analogous
#2F0420 #2F040B #2F1304
triadic
#2F040B #0B2F04 #040B2F
tetradic
#2F040B #202F04 #042F28 #13042F
square
#2F040B #202F04 #042F28 #13042F
split-complementary
#2F040B #042F13 #04202F
monochromatic
#1C0207 #1C0207 #2F040B #670918 #A00E25

Accessibility & contrast

On white

18.37
#2F040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F040B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F040B
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F040B#FFFFFF#000000##FFFFFF
##2F040B1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0B
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#350007
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f040b;
/* rgb */ color: rgb(47, 4, 11);
/* oklch */ color: oklch(20.2% 0.070 16.0);
Tailwind
colors: {
  custom: {
    50: '#6b484c',
    500: '#2f040b',
    950: '#000000',
  },
}
SCSS
$custom: #2f040b;
$custom-light: #6b484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f040b",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 350.233,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20151,
    "c": 0.06996,
    "h": 16
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#2F040B
secondary
#1D7264
accent
#FBD92D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F040B

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

Preview Lab → · Contrast checker → · Palette generator →

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