#2F0407#2F0407

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

Color values

HEX#2F0407
RGBrgb(47, 4, 7)
HSLhsl(356, 84%, 10%)
HSVhsv(356, 91%, 18%)
CMYKcmyk(0%, 91.5%, 85.1%, 81.6%)
CIE-LABlab(6.38, 21.67, 7.13)
CIE-LCHlch(6.38, 22.81, 18.20°)
OKLaboklab(20.05% 0.0651 0.0259)
OKLCHoklch(20.05% 0.07 21.7)
XYZxyz(1.2542, 0.7067, 0.2713)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0407 #042F2C
analogous
#2F041C #2F0407 #2F1704
triadic
#2F0407 #072F04 #04072F
tetradic
#2F0407 #1C2F04 #042F2C #17042F
square
#2F0407 #1C2F04 #042F2C #17042F
split-complementary
#2F0407 #042F17 #041C2F
monochromatic
#1C0204 #1C0204 #2F0407 #67090F #A00E18

Accessibility & contrast

On white

18.40
#2F0407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0407
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0407#FFFFFF#000000##FFFFFF
##2F04071.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E07
Deuteranopia (green-blind)
#1B1806
Tritanopia (blue-blind)
#350005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0407;
/* rgb */ color: rgb(47, 4, 7);
/* oklch */ color: oklch(20.1% 0.070 21.7);
Tailwind
colors: {
  custom: {
    50: '#6b484a',
    500: '#2f0407',
    950: '#000000',
  },
}
SCSS
$custom: #2f0407;
$custom-light: #6b484a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0407",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 7
  },
  "hsl": {
    "h": 355.814,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20053,
    "c": 0.07011,
    "h": 21.7
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#2F0407
secondary
#1D726C
accent
#FBEC2D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0407

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

Preview Lab → · Contrast checker → · Palette generator →

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