#2F070E#2F070E

#2F070E is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.7% C 0.065 H 14.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#2F070E
RGBrgb(47, 7, 14)
HSLhsl(350, 74%, 11%)
HSVhsv(350, 85%, 18%)
CMYKcmyk(0%, 85.1%, 70.2%, 81.6%)
CIE-LABlab(7.12, 20.76, 5.16)
CIE-LCHlch(7.12, 21.39, 13.95°)
OKLaboklab(20.72% 0.0629 0.0164)
OKLCHoklch(20.72% 0.065 14.6)
XYZxyz(1.3277, 0.7882, 0.4976)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F070E #072F28
analogous
#2F0722 #2F070E #2F1407
triadic
#2F070E #0E2F07 #070E2F
tetradic
#2F070E #222F07 #072F28 #14072F
square
#2F070E #222F07 #072F28 #14072F
split-complementary
#2F070E #072F14 #07222F
monochromatic
#1B0408 #1B0408 #2F070E #640F1E #9A172E

Accessibility & contrast

On white

18.14
#2F070E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2F070E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F070E
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F070E#FFFFFF#000000##FFFFFF
##2F070E1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100E
Deuteranopia (green-blind)
#1B190D
Tritanopia (blue-blind)
#34010A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f070e;
/* rgb */ color: rgb(47, 7, 14);
/* oklch */ color: oklch(20.7% 0.065 14.6);
Tailwind
colors: {
  custom: {
    50: '#6b4a4d',
    500: '#2f070e',
    950: '#000000',
  },
}
SCSS
$custom: #2f070e;
$custom-light: #6b4a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f070e",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 14
  },
  "hsl": {
    "h": 349.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20719,
    "c": 0.06495,
    "h": 14.6
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#2F070E
secondary
#236F61
accent
#F1D037
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F070E

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

Preview Lab → · Contrast checker → · Palette generator →

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