#2F0802#2F0802

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

Color values

HEX#2F0802
RGBrgb(47, 8, 2)
HSLhsl(8, 92%, 10%)
HSVhsv(8, 96%, 18%)
CMYKcmyk(0%, 83%, 95.7%, 81.6%)
CIE-LABlab(7.07, 19.22, 10.16)
CIE-LCHlch(7.07, 21.74, 27.87°)
OKLaboklab(20.59% 0.0542 0.0373)
OKLCHoklch(20.59% 0.066 34.5)
XYZxyz(1.2702, 0.7826, 0.1416)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0802 #02292F
analogous
#2F0213 #2F0802 #2F1F02
triadic
#2F0802 #022F08 #08022F
tetradic
#2F0802 #132F02 #02292F #1F022F
square
#2F0802 #132F02 #02292F #1F022F
split-complementary
#2F0802 #022F1F #02132F
monochromatic
#1D0501 #1D0501 #2F0802 #6A1204 #A41C07

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0802#FFFFFF#000000##FFFFFF
##2F08021.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)
#141001
Deuteranopia (green-blind)
#1D1901
Tritanopia (blue-blind)
#350007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0802;
/* rgb */ color: rgb(47, 8, 2);
/* oklch */ color: oklch(20.6% 0.066 34.5);
Tailwind
colors: {
  custom: {
    50: '#6b4a47',
    500: '#2f0802',
    950: '#000000',
  },
}
SCSS
$custom: #2f0802;
$custom-light: #6b4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0802",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 8,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20592,
    "c": 0.06577,
    "h": 34.5
  },
  "luminance": 0.00782
}

Semantic roles & 50–950 ramp

primary
#2F0802
secondary
#196874
accent
#E2FF29
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0802

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

Preview Lab → · Contrast checker → · Palette generator →

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