#2F070B#2F070B

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

Color values

HEX#2F070B
RGBrgb(47, 7, 11)
HSLhsl(354, 74%, 11%)
HSVhsv(354, 85%, 18%)
CMYKcmyk(0%, 85.1%, 76.6%, 81.6%)
CIE-LABlab(7.05, 20.49, 6.46)
CIE-LCHlch(7.05, 21.48, 17.50°)
OKLaboklab(20.64% 0.0614 0.0213)
OKLCHoklch(20.64% 0.065 19.1)
XYZxyz(1.3088, 0.7806, 0.3983)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F070B #072F2B
analogous
#2F071F #2F070B #2F1707
triadic
#2F070B #0B2F07 #070B2F
tetradic
#2F070B #1F2F07 #072F2B #17072F
square
#2F070B #1F2F07 #072F2B #17072F
split-complementary
#2F070B #072F17 #071F2F
monochromatic
#1B0406 #1B0406 #2F070B #640F17 #9A1724

Accessibility & contrast

On white

18.17
#2F070B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F070B
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F070B#FFFFFF#000000##FFFFFF
##2F070B1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12100B
Deuteranopia (green-blind)
#1C190A
Tritanopia (blue-blind)
#340109
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f070b;
/* rgb */ color: rgb(47, 7, 11);
/* oklch */ color: oklch(20.6% 0.065 19.1);
Tailwind
colors: {
  custom: {
    50: '#6b4a4b',
    500: '#2f070b',
    950: '#000000',
  },
}
SCSS
$custom: #2f070b;
$custom-light: #6b4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f070b",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 11
  },
  "hsl": {
    "h": 354,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2064,
    "c": 0.06495,
    "h": 19.1
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#2F070B
secondary
#236F67
accent
#F1DE37
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F070B

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

Preview Lab → · Contrast checker → · Palette generator →

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