#2F0808#2F0808

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

Color values

HEX#2F0808
RGBrgb(47, 8, 8)
HSLhsl(0, 71%, 11%)
HSVhsv(0, 83%, 18%)
CMYKcmyk(0%, 83%, 83%, 81.6%)
CIE-LABlab(7.19, 19.72, 7.89)
CIE-LCHlch(7.19, 21.24, 21.81°)
OKLaboklab(20.73% 0.058 0.0266)
OKLCHoklch(20.73% 0.064 24.6)
XYZxyz(1.3031, 0.7957, 0.3147)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0808 #082F2F
analogous
#2F081B #2F0808 #2F1B08
triadic
#2F0808 #082F08 #08082F
tetradic
#2F0808 #1B2F08 #082F2F #1B082F
square
#2F0808 #1B2F08 #082F2F #1B082F
split-complementary
#2F0808 #082F1B #081B2F
monochromatic
#1A0404 #1A0404 #2F0808 #631111 #981A1A

Accessibility & contrast

On white

18.12
#2F0808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0808
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0808#FFFFFF#000000##FFFFFF
##2F08081.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131108
Deuteranopia (green-blind)
#1D1907
Tritanopia (blue-blind)
#350108
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2f0808;
/* rgb */ color: rgb(47, 8, 8);
/* oklch */ color: oklch(20.7% 0.064 24.6);
Tailwind
colors: {
  custom: {
    50: '#6b4a4a',
    500: '#2f0808',
    950: '#000000',
  },
}
SCSS
$custom: #2f0808;
$custom-light: #6b4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0808",
  "rgb": {
    "r": 47,
    "g": 8,
    "b": 8
  },
  "hsl": {
    "h": 0,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20729,
    "c": 0.06378,
    "h": 24.6
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#2F0808
secondary
#256E6E
accent
#EEEE3A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0808

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

Preview Lab → · Contrast checker → · Palette generator →

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