#2F070C#2F070C

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

Color values

HEX#2F070C
RGBrgb(47, 7, 12)
HSLhsl(353, 74%, 11%)
HSVhsv(353, 85%, 18%)
CMYKcmyk(0%, 85.1%, 74.5%, 81.6%)
CIE-LABlab(7.07, 20.57, 6.05)
CIE-LCHlch(7.07, 21.45, 16.38°)
OKLaboklab(20.67% 0.0619 0.0197)
OKLCHoklch(20.67% 0.065 17.6)
XYZxyz(1.3148, 0.7830, 0.4297)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F070C #072F2A
analogous
#2F0720 #2F070C #2F1607
triadic
#2F070C #0C2F07 #070C2F
tetradic
#2F070C #202F07 #072F2A #16072F
square
#2F070C #202F07 #072F2A #16072F
split-complementary
#2F070C #072F16 #07202F
monochromatic
#1B0407 #1B0407 #2F070C #640F1A #9A1727

Accessibility & contrast

On white

18.16
#2F070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F070C
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F070C#FFFFFF#000000##FFFFFF
##2F070C1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11100C
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#340109
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f070c;
/* rgb */ color: rgb(47, 7, 12);
/* oklch */ color: oklch(20.7% 0.065 17.6);
Tailwind
colors: {
  custom: {
    50: '#6b4a4c',
    500: '#2f070c',
    950: '#000000',
  },
}
SCSS
$custom: #2f070c;
$custom-light: #6b4a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f070c",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 352.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20665,
    "c": 0.06491,
    "h": 17.6
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#2F070C
secondary
#236F65
accent
#F1DA37
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F070C

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

Preview Lab → · Contrast checker → · Palette generator →

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