#2A040B#2A040B

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

Color values

HEX#2A040B
RGBrgb(42, 4, 11)
HSLhsl(349, 83%, 9%)
HSVhsv(349, 90%, 16%)
CMYKcmyk(0%, 90.5%, 73.8%, 83.5%)
CIE-LABlab(5.45, 19.21, 4.00)
CIE-LCHlch(5.45, 19.62, 11.76°)
OKLaboklab(19.02% 0.0621 0.0152)
OKLCHoklch(19.02% 0.064 13.7)
XYZxyz(1.0588, 0.6034, 0.3773)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A040B #042A23
analogous
#2A041E #2A040B #2A1004
triadic
#2A040B #0B2A04 #040B2A
tetradic
#2A040B #1E2A04 #042A23 #10042A
square
#2A040B #1E2A04 #042A23 #10042A
split-complementary
#2A040B #042A10 #041E2A
monochromatic
#1C0307 #1C0307 #2A040B #62091A #9A0F28

Accessibility & contrast

On white

18.74
#2A040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A040B
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A040B#FFFFFF#000000##FFFFFF
##2A040B1.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0B
Deuteranopia (green-blind)
#17150A
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a040b;
/* rgb */ color: rgb(42, 4, 11);
/* oklch */ color: oklch(19.0% 0.064 13.7);
Tailwind
colors: {
  custom: {
    50: '#66484c',
    500: '#2a040b',
    950: '#000000',
  },
}
SCSS
$custom: #2a040b;
$custom-light: #66484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a040b",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 348.947,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19016,
    "c": 0.06394,
    "h": 13.7
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#2A040B
secondary
#1D6D5E
accent
#F9D42F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A040B

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

Preview Lab → · Contrast checker → · Palette generator →

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