#2A050A#2A050A

#2A050A is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.2% C 0.062 H 16.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#2A050A
RGBrgb(42, 5, 10)
HSLhsl(352, 79%, 9%)
HSVhsv(352, 88%, 16%)
CMYKcmyk(0%, 88.1%, 76.2%, 83.5%)
CIE-LABlab(5.63, 18.63, 4.68)
CIE-LCHlch(5.63, 19.21, 14.09°)
OKLaboklab(19.17% 0.0594 0.0176)
OKLCHoklch(19.17% 0.062 16.5)
XYZxyz(1.0640, 0.6229, 0.3513)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A050A #052A25
analogous
#2A051D #2A050A #2A1305
triadic
#2A050A #0A2A05 #050A2A
tetradic
#2A050A #1D2A05 #052A25 #13052A
square
#2A050A #1D2A05 #052A25 #13052A
split-complementary
#2A050A #052A13 #051D2A
monochromatic
#1B0307 #1B0307 #2A050A #610C17 #971224

Accessibility & contrast

On white

18.67
#2A050A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A050A
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A050A#FFFFFF#000000##FFFFFF
##2A050A1.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a050a;
/* rgb */ color: rgb(42, 5, 10);
/* oklch */ color: oklch(19.2% 0.062 16.5);
Tailwind
colors: {
  custom: {
    50: '#66484b',
    500: '#2a050a',
    950: '#000000',
  },
}
SCSS
$custom: #2a050a;
$custom-light: #66484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a050a",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 10
  },
  "hsl": {
    "h": 351.892,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19174,
    "c": 0.06192,
    "h": 16.5
  },
  "luminance": 0.00623
}

Semantic roles & 50–950 ramp

primary
#2A050A
secondary
#1F6C61
accent
#F5DB33
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A050A

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

Preview Lab → · Contrast checker → · Palette generator →

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