#2F040A#2F040A

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

Color values

HEX#2F040A
RGBrgb(47, 4, 10)
HSLhsl(352, 84%, 10%)
HSVhsv(352, 91%, 18%)
CMYKcmyk(0%, 91.5%, 78.7%, 81.6%)
CIE-LABlab(6.44, 21.93, 5.99)
CIE-LCHlch(6.44, 22.73, 15.28°)
OKLaboklab(20.13% 0.0668 0.0209)
OKLCHoklch(20.13% 0.07 17.4)
XYZxyz(1.2706, 0.7133, 0.3579)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F040A #042F29
analogous
#2F041F #2F040A #2F1404
triadic
#2F040A #0A2F04 #040A2F
tetradic
#2F040A #1F2F04 #042F29 #14042F
square
#2F040A #1F2F04 #042F29 #14042F
split-complementary
#2F040A #042F14 #041F2F
monochromatic
#1C0206 #1C0206 #2F040A #670916 #A00E22

Accessibility & contrast

On white

18.38
#2F040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F040A
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F040A#FFFFFF#000000##FFFFFF
##2F040A1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E0A
Deuteranopia (green-blind)
#1B1809
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f040a;
/* rgb */ color: rgb(47, 4, 10);
/* oklch */ color: oklch(20.1% 0.070 17.4);
Tailwind
colors: {
  custom: {
    50: '#6b484b',
    500: '#2f040a',
    950: '#000000',
  },
}
SCSS
$custom: #2f040a;
$custom-light: #6b484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f040a",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 351.628,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20127,
    "c": 0.06995,
    "h": 17.4
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#2F040A
secondary
#1D7266
accent
#FBDE2D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F040A

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

Preview Lab → · Contrast checker → · Palette generator →

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