#2A040D#2A040D

#2A040D is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.1% C 0.064 H 10.4°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#2A040D
RGBrgb(42, 4, 13)
HSLhsl(346, 83%, 9%)
HSVhsv(346, 90%, 16%)
CMYKcmyk(0%, 90.5%, 69%, 83.5%)
CIE-LABlab(5.49, 19.45, 3.16)
CIE-LCHlch(5.49, 19.70, 9.22°)
OKLaboklab(19.08% 0.0631 0.0116)
OKLCHoklch(19.08% 0.064 10.4)
XYZxyz(1.0710, 0.6083, 0.4417)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A040D #042A21
analogous
#2A0420 #2A040D #2A0E04
triadic
#2A040D #0D2A04 #040D2A
tetradic
#2A040D #202A04 #042A21 #0E042A
square
#2A040D #202A04 #042A21 #0E042A
split-complementary
#2A040D #042A0E #04202A
monochromatic
#1C0309 #1C0309 #2A040D #62091E #9A0F30

Accessibility & contrast

On white

18.72
#2A040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A040D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A040D
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A040D#FFFFFF#000000##FFFFFF
##2A040D1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0D
Deuteranopia (green-blind)
#17150C
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a040d;
/* rgb */ color: rgb(42, 4, 13);
/* oklch */ color: oklch(19.1% 0.064 10.4);
Tailwind
colors: {
  custom: {
    50: '#66484d',
    500: '#2a040d',
    950: '#000000',
  },
}
SCSS
$custom: #2a040d;
$custom-light: #66484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a040d",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 345.789,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19077,
    "c": 0.06419,
    "h": 10.4
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#2A040D
secondary
#1D6D5A
accent
#F9C92F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A040D

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

Preview Lab → · Contrast checker → · Palette generator →

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