#2A020A#2A020A

#2A020A is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.6% C 0.068 H 12.9°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#2A020A
RGBrgb(42, 2, 10)
HSLhsl(348, 91%, 9%)
HSVhsv(348, 95%, 16%)
CMYKcmyk(0%, 95.2%, 76.2%, 83.5%)
CIE-LABlab(5.04, 20.02, 3.82)
CIE-LCHlch(5.04, 20.38, 10.80°)
OKLaboklab(18.6% 0.0664 0.0153)
OKLCHoklch(18.6% 0.068 12.9)
XYZxyz(1.0314, 0.5577, 0.3404)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A020A #022A22
analogous
#2A021E #2A020A #2A0E02
triadic
#2A020A #0A2A02 #020A2A
tetradic
#2A020A #1E2A02 #022A22 #0E022A
square
#2A020A #1E2A02 #022A22 #0E022A
split-complementary
#2A020A #022A0E #021E2A
monochromatic
#1D0107 #1D0107 #2A020A #640518 #9F0826

Accessibility & contrast

On white

18.89
#2A020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A020A
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A020A#FFFFFF#000000##FFFFFF
##2A020A1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B0A
Deuteranopia (green-blind)
#171409
Tritanopia (blue-blind)
#2F0005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a020a;
/* rgb */ color: rgb(42, 2, 10);
/* oklch */ color: oklch(18.6% 0.068 12.9);
Tailwind
colors: {
  custom: {
    50: '#66474b',
    500: '#2a020a',
    950: '#000000',
  },
}
SCSS
$custom: #2a020a;
$custom-light: #66474b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a020a",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 348,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18604,
    "c": 0.06809,
    "h": 12.9
  },
  "luminance": 0.00558
}

Semantic roles & 50–950 ramp

primary
#2A020A
secondary
#196F5E
accent
#FFD429
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A020A

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

Preview Lab → · Contrast checker → · Palette generator →

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