#2A0501#2A0501

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

Color values

HEX#2A0501
RGBrgb(42, 5, 1)
HSLhsl(6, 95%, 8%)
HSVhsv(6, 98%, 16%)
CMYKcmyk(0%, 88.1%, 97.6%, 83.5%)
CIE-LABlab(5.45, 17.65, 8.08)
CIE-LCHlch(5.45, 19.41, 24.60°)
OKLaboklab(18.93% 0.0532 0.0356)
OKLCHoklch(18.93% 0.064 33.7)
XYZxyz(1.0147, 0.6031, 0.0917)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0501 #01262A
analogous
#2A0111 #2A0501 #2A1901
triadic
#2A0501 #012A05 #05012A
tetradic
#2A0501 #112A01 #01262A #19012A
square
#2A0501 #112A01 #01262A #19012A
split-complementary
#2A0501 #012A19 #01112A
monochromatic
#1E0401 #1E0401 #2A0501 #660C02 #A21304

Accessibility & contrast

On white

18.74
#2A0501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0501
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0501#FFFFFF#000000##FFFFFF
##2A05011.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D01
Deuteranopia (green-blind)
#191500
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0501;
/* rgb */ color: rgb(42, 5, 1);
/* oklch */ color: oklch(18.9% 0.064 33.7);
Tailwind
colors: {
  custom: {
    50: '#664847',
    500: '#2a0501',
    950: '#000000',
  },
}
SCSS
$custom: #2a0501;
$custom-light: #664847;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0501",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 1
  },
  "hsl": {
    "h": 5.854,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18932,
    "c": 0.06403,
    "h": 33.7
  },
  "luminance": 0.00603
}

Semantic roles & 50–950 ramp

primary
#2A0501
secondary
#166870
accent
#EAFF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0501

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

Preview Lab → · Contrast checker → · Palette generator →

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