#2F070F#2F070F

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

Color values

HEX#2F070F
RGBrgb(47, 7, 15)
HSLhsl(348, 74%, 11%)
HSVhsv(348, 85%, 18%)
CMYKcmyk(0%, 85.1%, 68.1%, 81.6%)
CIE-LABlab(7.14, 20.86, 4.68)
CIE-LCHlch(7.14, 21.38, 12.64°)
OKLaboklab(20.75% 0.0634 0.0147)
OKLCHoklch(20.75% 0.065 13)
XYZxyz(1.3346, 0.7910, 0.5342)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F070F #072F27
analogous
#2F0723 #2F070F #2F1307
triadic
#2F070F #0F2F07 #070F2F
tetradic
#2F070F #232F07 #072F27 #13072F
square
#2F070F #232F07 #072F27 #13072F
split-complementary
#2F070F #072F13 #07232F
monochromatic
#1B0409 #1B0409 #2F070F #640F20 #9A1731

Accessibility & contrast

On white

18.13
#2F070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F070F
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F070F#FFFFFF#000000##FFFFFF
##2F070F1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11110F
Deuteranopia (green-blind)
#1B190E
Tritanopia (blue-blind)
#34010A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f070f;
/* rgb */ color: rgb(47, 7, 15);
/* oklch */ color: oklch(20.7% 0.065 13.0);
Tailwind
colors: {
  custom: {
    50: '#6b4a4e',
    500: '#2f070f',
    950: '#000000',
  },
}
SCSS
$custom: #2f070f;
$custom-light: #6b4a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f070f",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 348,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20748,
    "c": 0.06503,
    "h": 13
  },
  "luminance": 0.00791
}

Semantic roles & 50–950 ramp

primary
#2F070F
secondary
#236F60
accent
#F1CC37
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F070F

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

Preview Lab → · Contrast checker → · Palette generator →

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