#2F070A#2F070A

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

Color values

HEX#2F070A
RGBrgb(47, 7, 10)
HSLhsl(356, 74%, 11%)
HSVhsv(356, 85%, 18%)
CMYKcmyk(0%, 85.1%, 78.7%, 81.6%)
CIE-LABlab(7.03, 20.40, 6.85)
CIE-LCHlch(7.03, 21.52, 18.56°)
OKLaboklab(20.62% 0.0609 0.0228)
OKLCHoklch(20.62% 0.065 20.6)
XYZxyz(1.3032, 0.7784, 0.3687)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F070A #072F2C
analogous
#2F071E #2F070A #2F1807
triadic
#2F070A #0A2F07 #070A2F
tetradic
#2F070A #1E2F07 #072F2C #18072F
square
#2F070A #1E2F07 #072F2C #18072F
split-complementary
#2F070A #072F18 #071E2F
monochromatic
#1B0406 #1B0406 #2F070A #640F15 #9A1721

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F070A#FFFFFF#000000##FFFFFF
##2F070A1.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)
#12100A
Deuteranopia (green-blind)
#1C1909
Tritanopia (blue-blind)
#350108
Achromatopsia (no color)
#161616

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#2F070A
secondary
#236F69
accent
#F1E337
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F070A

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

Preview Lab → · Contrast checker → · Palette generator →

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