#2F0404#2F0404

#2F0404 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.0% C 0.071 H 26.5°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#2F0404
RGBrgb(47, 4, 4)
HSLhsl(0, 84%, 10%)
HSVhsv(0, 91%, 18%)
CMYKcmyk(0%, 91.5%, 91.5%, 81.6%)
CIE-LABlab(6.32, 21.41, 8.26)
CIE-LCHlch(6.32, 22.95, 21.09°)
OKLaboklab(19.98% 0.0632 0.0315)
OKLCHoklch(19.98% 0.071 26.5)
XYZxyz(1.2378, 0.7001, 0.1848)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0404 #042F2F
analogous
#2F041A #2F0404 #2F1A04
triadic
#2F0404 #042F04 #04042F
tetradic
#2F0404 #1A2F04 #042F2F #19042F
square
#2F0404 #1A2F04 #042F2F #19042F
split-complementary
#2F0404 #042F1A #04192F
monochromatic
#1C0202 #1C0202 #2F0404 #670909 #A00E0E

Accessibility & contrast

On white

18.42
#2F0404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0404
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0404#FFFFFF#000000##FFFFFF
##2F04041.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100E04
Deuteranopia (green-blind)
#1B1703
Tritanopia (blue-blind)
#350004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0404;
/* rgb */ color: rgb(47, 4, 4);
/* oklch */ color: oklch(20.0% 0.071 26.5);
Tailwind
colors: {
  custom: {
    50: '#6b4848',
    500: '#2f0404',
    950: '#000000',
  },
}
SCSS
$custom: #2f0404;
$custom-light: #6b4848;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0404",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 4
  },
  "hsl": {
    "h": 0,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.1998,
    "c": 0.07064,
    "h": 26.5
  },
  "luminance": 0.007
}

Semantic roles & 50–950 ramp

primary
#2F0404
secondary
#1D7272
accent
#FBFB2D
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0404

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

Preview Lab → · Contrast checker → · Palette generator →

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