#2A0404#2A0404

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

Color values

HEX#2A0404
RGBrgb(42, 4, 4)
HSLhsl(0, 83%, 9%)
HSVhsv(0, 90%, 16%)
CMYKcmyk(0%, 90.5%, 90.5%, 83.5%)
CIE-LABlab(5.31, 18.44, 6.66)
CIE-LCHlch(5.31, 19.60, 19.86°)
OKLaboklab(18.82% 0.0579 0.0282)
OKLCHoklch(18.82% 0.064 26)
XYZxyz(1.0203, 0.5880, 0.1746)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0404 #042A2A
analogous
#2A0417 #2A0404 #2A1704
triadic
#2A0404 #042A04 #04042A
tetradic
#2A0404 #172A04 #042A2A #17042A
square
#2A0404 #172A04 #042A2A #17042A
split-complementary
#2A0404 #042A17 #04172A
monochromatic
#1C0303 #1C0303 #2A0404 #620909 #9A0F0F

Accessibility & contrast

On white

18.79
#2A0404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0404
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0404#FFFFFF#000000##FFFFFF
##2A04041.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C04
Deuteranopia (green-blind)
#181503
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0404;
/* rgb */ color: rgb(42, 4, 4);
/* oklch */ color: oklch(18.8% 0.064 26.0);
Tailwind
colors: {
  custom: {
    50: '#664848',
    500: '#2a0404',
    950: '#000000',
  },
}
SCSS
$custom: #2a0404;
$custom-light: #664848;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0404",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 4
  },
  "hsl": {
    "h": 0,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18824,
    "c": 0.06443,
    "h": 26
  },
  "luminance": 0.00588
}

Semantic roles & 50–950 ramp

primary
#2A0404
secondary
#1D6D6D
accent
#F9F92F
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0404

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

Preview Lab → · Contrast checker → · Palette generator →

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