#2F0702#2F0702

#2F0702 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.4% C 0.067 H 33.4°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#2F0702
RGBrgb(47, 7, 2)
HSLhsl(7, 92%, 10%)
HSVhsv(7, 96%, 18%)
CMYKcmyk(0%, 85.1%, 95.7%, 81.6%)
CIE-LABlab(6.87, 19.73, 9.88)
CIE-LCHlch(6.87, 22.06, 26.60°)
OKLaboklab(20.43% 0.056 0.0369)
OKLCHoklch(20.43% 0.067 33.4)
XYZxyz(1.2594, 0.7609, 0.1380)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0702 #022A2F
analogous
#2F0214 #2F0702 #2F1E02
triadic
#2F0702 #022F07 #07022F
tetradic
#2F0702 #142F02 #022A2F #1E022F
square
#2F0702 #142F02 #022A2F #1E022F
split-complementary
#2F0702 #022F1E #02142F
monochromatic
#1D0401 #1D0401 #2F0702 #6A1004 #A41807

Accessibility & contrast

On white

18.23
#2F0702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0702
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0702#FFFFFF#000000##FFFFFF
##2F07021.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131001
Deuteranopia (green-blind)
#1D1801
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0702;
/* rgb */ color: rgb(47, 7, 2);
/* oklch */ color: oklch(20.4% 0.067 33.4);
Tailwind
colors: {
  custom: {
    50: '#6b4a47',
    500: '#2f0702',
    950: '#000000',
  },
}
SCSS
$custom: #2f0702;
$custom-light: #6b4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0702",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 6.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20431,
    "c": 0.06704,
    "h": 33.4
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#2F0702
secondary
#196A74
accent
#E7FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0702

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

Preview Lab → · Contrast checker → · Palette generator →

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