#2A0804#2A0804

#2A0804 is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.6% C 0.058 H 31.7°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#2A0804
RGBrgb(42, 8, 4)
HSLhsl(6, 83%, 9%)
HSVhsv(6, 90%, 16%)
CMYKcmyk(0%, 81%, 90.5%, 83.5%)
CIE-LABlab(6.10, 16.60, 7.80)
CIE-LCHlch(6.10, 18.34, 25.18°)
OKLaboklab(19.56% 0.0495 0.0305)
OKLCHoklch(19.56% 0.058 31.7)
XYZxyz(1.0637, 0.6748, 0.1891)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0804 #04262A
analogous
#2A0413 #2A0804 #2A1B04
triadic
#2A0804 #042A08 #08042A
tetradic
#2A0804 #132A04 #04262A #1B042A
square
#2A0804 #132A04 #04262A #1B042A
split-complementary
#2A0804 #042A1B #04132A
monochromatic
#1C0503 #1C0503 #2A0804 #621309 #9A1D0F

Accessibility & contrast

On white

18.50
#2A0804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0804
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0804#FFFFFF#000000##FFFFFF
##2A08041.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1A1603
Tritanopia (blue-blind)
#2F0207
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a0804;
/* rgb */ color: rgb(42, 8, 4);
/* oklch */ color: oklch(19.6% 0.058 31.7);
Tailwind
colors: {
  custom: {
    50: '#664a48',
    500: '#2a0804',
    950: '#000000',
  },
}
SCSS
$custom: #2a0804;
$custom-light: #664a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0804",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 6.316,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19559,
    "c": 0.05812,
    "h": 31.7
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#2A0804
secondary
#1D646D
accent
#E4F92F
background
#F6F4F4
surface
#EBE7E6
border
#C6C3C2
text
#060100
muted
#7A7777

Preview Lab

Preview with #2A0804

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

Preview Lab → · Contrast checker → · Palette generator →

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