#2A020B#2A020B

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

Color values

HEX#2A020B
RGBrgb(42, 2, 11)
HSLhsl(347, 91%, 9%)
HSVhsv(347, 95%, 16%)
CMYKcmyk(0%, 95.2%, 73.8%, 83.5%)
CIE-LABlab(5.06, 20.13, 3.43)
CIE-LCHlch(5.06, 20.42, 9.67°)
OKLaboklab(18.63% 0.0669 0.0135)
OKLCHoklch(18.63% 0.068 11.4)
XYZxyz(1.0371, 0.5600, 0.3700)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A020B #022A21
analogous
#2A021F #2A020B #2A0D02
triadic
#2A020B #0B2A02 #020B2A
tetradic
#2A020B #1F2A02 #022A21 #0D022A
square
#2A020B #1F2A02 #022A21 #0D022A
split-complementary
#2A020B #022A0D #021F2A
monochromatic
#1D0108 #1D0108 #2A020B #64051A #9F082A

Accessibility & contrast

On white

18.88
#2A020B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A020B
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A020B#FFFFFF#000000##FFFFFF
##2A020B1.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0B0B
Deuteranopia (green-blind)
#16140A
Tritanopia (blue-blind)
#2F0005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a020b;
/* rgb */ color: rgb(42, 2, 11);
/* oklch */ color: oklch(18.6% 0.068 11.4);
Tailwind
colors: {
  custom: {
    50: '#66474c',
    500: '#2a020b',
    950: '#000000',
  },
}
SCSS
$custom: #2a020b;
$custom-light: #66474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a020b",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 346.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18633,
    "c": 0.06821,
    "h": 11.4
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#2A020B
secondary
#196F5C
accent
#FFCF29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A020B

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

Preview Lab → · Contrast checker → · Palette generator →

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