#2F0707#2F0707

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

Color values

HEX#2F0707
RGBrgb(47, 7, 7)
HSLhsl(0, 74%, 11%)
HSVhsv(0, 85%, 18%)
CMYKcmyk(0%, 85.1%, 85.1%, 81.6%)
CIE-LABlab(6.97, 20.15, 7.98)
CIE-LCHlch(6.97, 21.68, 21.61°)
OKLaboklab(20.55% 0.0593 0.0277)
OKLCHoklch(20.55% 0.065 25)
XYZxyz(1.2868, 0.7718, 0.2822)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0707 #072F2F
analogous
#2F071B #2F0707 #2F1B07
triadic
#2F0707 #072F07 #07072F
tetradic
#2F0707 #1B2F07 #072F2F #1B072F
square
#2F0707 #1B2F07 #072F2F #1B072F
split-complementary
#2F0707 #072F1B #071B2F
monochromatic
#1B0404 #1B0404 #2F0707 #640F0F #9A1717

Accessibility & contrast

On white

18.19
#2F0707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0707
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0707#FFFFFF#000000##FFFFFF
##2F07071.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121007
Deuteranopia (green-blind)
#1C1906
Tritanopia (blue-blind)
#350007
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0707;
/* rgb */ color: rgb(47, 7, 7);
/* oklch */ color: oklch(20.5% 0.065 25.0);
Tailwind
colors: {
  custom: {
    50: '#6b4a4a',
    500: '#2f0707',
    950: '#000000',
  },
}
SCSS
$custom: #2f0707;
$custom-light: #6b4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0707",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 7
  },
  "hsl": {
    "h": 0,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20547,
    "c": 0.06541,
    "h": 25
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#2F0707
secondary
#236F6F
accent
#F1F137
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0707

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

Preview Lab → · Contrast checker → · Palette generator →

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