#2F0704#2F0704

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

Color values

HEX#2F0704
RGBrgb(47, 7, 4)
HSLhsl(4, 84%, 10%)
HSVhsv(4, 91%, 18%)
CMYKcmyk(0%, 85.1%, 91.5%, 81.6%)
CIE-LABlab(6.91, 19.89, 9.12)
CIE-LCHlch(6.91, 21.88, 24.63°)
OKLaboklab(20.48% 0.0574 0.033)
OKLCHoklch(20.48% 0.066 29.9)
XYZxyz(1.2703, 0.7653, 0.1957)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0704 #042C2F
analogous
#2F0417 #2F0704 #2F1C04
triadic
#2F0704 #042F07 #07042F
tetradic
#2F0704 #172F04 #042C2F #1C042F
square
#2F0704 #172F04 #042C2F #1C042F
split-complementary
#2F0704 #042F1C #04172F
monochromatic
#1C0402 #1C0402 #2F0704 #670F09 #A0180E

Accessibility & contrast

On white

18.21
#2F0704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0704
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0704#FFFFFF#000000##FFFFFF
##2F07041.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131004
Deuteranopia (green-blind)
#1D1903
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0704;
/* rgb */ color: rgb(47, 7, 4);
/* oklch */ color: oklch(20.5% 0.066 29.9);
Tailwind
colors: {
  custom: {
    50: '#6b4a48',
    500: '#2f0704',
    950: '#000000',
  },
}
SCSS
$custom: #2f0704;
$custom-light: #6b4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0704",
  "rgb": {
    "r": 47,
    "g": 7,
    "b": 4
  },
  "hsl": {
    "h": 4.186,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20478,
    "c": 0.06621,
    "h": 29.9
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#2F0704
secondary
#1D6C72
accent
#ECFB2D
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0704

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

Preview Lab → · Contrast checker → · Palette generator →

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