#2F0C04#2F0C04

#2F0C04 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.3% C 0.060 H 36.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#2F0C04
RGBrgb(47, 12, 4)
HSLhsl(11, 84%, 10%)
HSVhsv(11, 91%, 18%)
CMYKcmyk(0%, 74.5%, 91.5%, 81.6%)
CIE-LABlab(7.91, 17.28, 10.58)
CIE-LCHlch(7.91, 20.26, 31.48°)
OKLaboklab(21.27% 0.0486 0.0353)
OKLCHoklch(21.27% 0.06 36)
XYZxyz(1.3258, 0.8762, 0.2142)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C04 #04272F
analogous
#2F0411 #2F0C04 #2F2204
triadic
#2F0C04 #042F0C #0C042F
tetradic
#2F0C04 #112F04 #04272F #22042F
square
#2F0C04 #112F04 #04272F #22042F
split-complementary
#2F0C04 #042F22 #04112F
monochromatic
#1C0702 #1C0702 #2F0C04 #671A09 #A0290E

Accessibility & contrast

On white

17.87
#2F0C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C04
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C04#FFFFFF#000000##FFFFFF
##2F0C041.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161203
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#35050A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0c04;
/* rgb */ color: rgb(47, 12, 4);
/* oklch */ color: oklch(21.3% 0.060 36.0);
Tailwind
colors: {
  custom: {
    50: '#6a4c48',
    500: '#2f0c04',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c04;
$custom-light: #6a4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c04",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 4
  },
  "hsl": {
    "h": 11.163,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.21271,
    "c": 0.06005,
    "h": 36
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#2F0C04
secondary
#1D6272
accent
#D4FB2D
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0C04

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

Preview Lab → · Contrast checker → · Palette generator →

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