#2F040E#2F040E

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

Color values

HEX#2F040E
RGBrgb(47, 4, 14)
HSLhsl(346, 84%, 10%)
HSVhsv(346, 91%, 18%)
CMYKcmyk(0%, 91.5%, 70.2%, 81.6%)
CIE-LABlab(6.53, 22.30, 4.30)
CIE-LCHlch(6.53, 22.72, 10.91°)
OKLaboklab(20.24% 0.0687 0.0143)
OKLCHoklch(20.24% 0.07 11.7)
XYZxyz(1.2951, 0.7231, 0.4868)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F040E #042F25
analogous
#2F0423 #2F040E #2F1004
triadic
#2F040E #0E2F04 #040E2F
tetradic
#2F040E #232F04 #042F25 #10042F
square
#2F040E #232F04 #042F25 #10042F
split-complementary
#2F040E #042F10 #04232F
monochromatic
#1C0208 #1C0208 #2F040E #67091F #A00E30

Accessibility & contrast

On white

18.35
#2F040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F040E
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F040E#FFFFFF#000000##FFFFFF
##2F040E1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0F0E
Deuteranopia (green-blind)
#1A180D
Tritanopia (blue-blind)
#340008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f040e;
/* rgb */ color: rgb(47, 4, 14);
/* oklch */ color: oklch(20.2% 0.070 11.7);
Tailwind
colors: {
  custom: {
    50: '#6b484d',
    500: '#2f040e',
    950: '#000000',
  },
}
SCSS
$custom: #2f040e;
$custom-light: #6b484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f040e",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 346.047,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20235,
    "c": 0.07019,
    "h": 11.7
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#2F040E
secondary
#1D725E
accent
#FBCB2D
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F040E

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

Preview Lab → · Contrast checker → · Palette generator →

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