#2F0408#2F0408

#2F0408 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.070 H 20.2°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#2F0408
RGBrgb(47, 4, 8)
HSLhsl(354, 84%, 10%)
HSVhsv(354, 91%, 18%)
CMYKcmyk(0%, 91.5%, 83%, 81.6%)
CIE-LABlab(6.40, 21.76, 6.75)
CIE-LCHlch(6.40, 22.78, 17.23°)
OKLaboklab(20.08% 0.0657 0.0242)
OKLCHoklch(20.08% 0.07 20.2)
XYZxyz(1.2597, 0.7089, 0.3002)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0408 #042F2B
analogous
#2F041D #2F0408 #2F1604
triadic
#2F0408 #082F04 #04082F
tetradic
#2F0408 #1D2F04 #042F2B #16042F
square
#2F0408 #1D2F04 #042F2B #16042F
split-complementary
#2F0408 #042F16 #041D2F
monochromatic
#1C0205 #1C0205 #2F0408 #670912 #A00E1B

Accessibility & contrast

On white

18.39
#2F0408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0408
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0408#FFFFFF#000000##FFFFFF
##2F04081.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E08
Deuteranopia (green-blind)
#1B1807
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0408;
/* rgb */ color: rgb(47, 4, 8);
/* oklch */ color: oklch(20.1% 0.070 20.2);
Tailwind
colors: {
  custom: {
    50: '#6b484a',
    500: '#2f0408',
    950: '#000000',
  },
}
SCSS
$custom: #2f0408;
$custom-light: #6b484a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0408",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 354.419,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20078,
    "c": 0.07002,
    "h": 20.2
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#2F0408
secondary
#1D726A
accent
#FBE72D
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0408

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

Preview Lab → · Contrast checker → · Palette generator →

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