#2F0711#2F0711

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

Color values

HEX#2F0711
RGBrgb(47, 7, 17)
HSLhsl(345, 74%, 11%)
HSVhsv(345, 85%, 18%)
CMYKcmyk(0%, 85.1%, 63.8%, 81.6%)
CIE-LABlab(7.20, 21.08, 3.64)
CIE-LCHlch(7.20, 21.40, 9.80°)
OKLaboklab(20.81% 0.0644 0.0111)
OKLCHoklch(20.81% 0.065 9.8)
XYZxyz(1.3496, 0.7969, 0.6130)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0711 #072F25
analogous
#2F0725 #2F0711 #2F1107
triadic
#2F0711 #112F07 #07112F
tetradic
#2F0711 #252F07 #072F25 #11072F
square
#2F0711 #252F07 #072F25 #11072F
split-complementary
#2F0711 #072F11 #07252F
monochromatic
#1B040A #1B040A #2F0711 #640F24 #9A1738

Accessibility & contrast

On white

18.11
#2F0711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0711
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0711#FFFFFF#000000##FFFFFF
##2F07111.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111111
Deuteranopia (green-blind)
#1B1910
Tritanopia (blue-blind)
#34020B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0711;
/* rgb */ color: rgb(47, 7, 17);
/* oklch */ color: oklch(20.8% 0.065 9.8);
Tailwind
colors: {
  custom: {
    50: '#6a4a4f',
    500: '#2f0711',
    950: '#000000',
  },
}
SCSS
$custom: #2f0711;
$custom-light: #6a4a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0711",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 17
  },
  "hsl": {
    "h": 345,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2081,
    "c": 0.06531,
    "h": 9.8
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#2F0711
secondary
#236F5C
accent
#F1C237
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0711

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

Preview Lab → · Contrast checker → · Palette generator →

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