#2A010A#2A010A

#2A010A is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.4% C 0.070 H 11.8°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#2A010A
RGBrgb(42, 1, 10)
HSLhsl(347, 95%, 8%)
HSVhsv(347, 98%, 16%)
CMYKcmyk(0%, 97.6%, 76.2%, 83.5%)
CIE-LABlab(4.84, 20.47, 3.53)
CIE-LCHlch(4.84, 20.78, 9.78°)
OKLaboklab(18.4% 0.0689 0.0144)
OKLCHoklch(18.4% 0.07 11.8)
XYZxyz(1.0206, 0.5360, 0.3368)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A010A #012A21
analogous
#2A011E #2A010A #2A0C01
triadic
#2A010A #0A2A01 #010A2A
tetradic
#2A010A #1E2A01 #012A21 #0C012A
square
#2A010A #1E2A01 #012A21 #0C012A
split-complementary
#2A010A #012A0C #011E2A
monochromatic
#1E0107 #1E0107 #2A010A #660218 #A20426

Accessibility & contrast

On white

18.97
#2A010A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A010A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A010A
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A010A#FFFFFF#000000##FFFFFF
##2A010A1.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B0A
Deuteranopia (green-blind)
#161409
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #2a010a;
/* rgb */ color: rgb(42, 1, 10);
/* oklch */ color: oklch(18.4% 0.070 11.8);
Tailwind
colors: {
  custom: {
    50: '#66464b',
    500: '#2a010a',
    950: '#000000',
  },
}
SCSS
$custom: #2a010a;
$custom-light: #66464b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a010a",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 10
  },
  "hsl": {
    "h": 346.829,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18405,
    "c": 0.07037,
    "h": 11.8
  },
  "luminance": 0.00536
}

Semantic roles & 50–950 ramp

primary
#2A010A
secondary
#16705D
accent
#FFD029
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #2A010A

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

Preview Lab → · Contrast checker → · Palette generator →

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