#2A040A#2A040A

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

Color values

HEX#2A040A
RGBrgb(42, 4, 10)
HSLhsl(351, 83%, 9%)
HSVhsv(351, 90%, 16%)
CMYKcmyk(0%, 90.5%, 76.2%, 83.5%)
CIE-LABlab(5.43, 19.10, 4.39)
CIE-LCHlch(5.43, 19.60, 12.94°)
OKLaboklab(18.99% 0.0616 0.0169)
OKLCHoklch(18.99% 0.064 15.3)
XYZxyz(1.0532, 0.6011, 0.3477)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A040A #042A24
analogous
#2A041D #2A040A #2A1104
triadic
#2A040A #0A2A04 #040A2A
tetradic
#2A040A #1D2A04 #042A24 #11042A
square
#2A040A #1D2A04 #042A24 #11042A
split-complementary
#2A040A #042A11 #041D2A
monochromatic
#1C0307 #1C0307 #2A040A #620917 #9A0F25

Accessibility & contrast

On white

18.75
#2A040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A040A
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A040A#FFFFFF#000000##FFFFFF
##2A040A1.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0A
Deuteranopia (green-blind)
#181509
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a040a;
/* rgb */ color: rgb(42, 4, 10);
/* oklch */ color: oklch(19.0% 0.064 15.3);
Tailwind
colors: {
  custom: {
    50: '#66484b',
    500: '#2a040a',
    950: '#000000',
  },
}
SCSS
$custom: #2a040a;
$custom-light: #66484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a040a",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 350.526,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18988,
    "c": 0.06388,
    "h": 15.3
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#2A040A
secondary
#1D6D60
accent
#F9D92F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A040A

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

Preview Lab → · Contrast checker → · Palette generator →

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