#2A0401#2A0401

#2A0401 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.7% C 0.066 H 32.3°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#2A0401
RGBrgb(42, 4, 1)
HSLhsl(4, 95%, 8%)
HSVhsv(4, 98%, 16%)
CMYKcmyk(0%, 90.5%, 97.6%, 83.5%)
CIE-LABlab(5.25, 18.10, 7.79)
CIE-LCHlch(5.25, 19.71, 23.30°)
OKLaboklab(18.74% 0.0554 0.0351)
OKLCHoklch(18.74% 0.066 32.3)
XYZxyz(1.0039, 0.5814, 0.0881)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0401 #01272A
analogous
#2A0112 #2A0401 #2A1801
triadic
#2A0401 #012A04 #04012A
tetradic
#2A0401 #122A01 #01272A #18012A
square
#2A0401 #122A01 #01272A #18012A
split-complementary
#2A0401 #012A18 #01122A
monochromatic
#1E0301 #1E0301 #2A0401 #660A02 #A20F04

Accessibility & contrast

On white

18.81
#2A0401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0401
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0401#FFFFFF#000000##FFFFFF
##2A04011.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C01
Deuteranopia (green-blind)
#191500
Tritanopia (blue-blind)
#2F0003
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0401;
/* rgb */ color: rgb(42, 4, 1);
/* oklch */ color: oklch(18.7% 0.066 32.3);
Tailwind
colors: {
  custom: {
    50: '#664847',
    500: '#2a0401',
    950: '#000000',
  },
}
SCSS
$custom: #2a0401;
$custom-light: #664847;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0401",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 1
  },
  "hsl": {
    "h": 4.39,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1874,
    "c": 0.06561,
    "h": 32.3
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#2A0401
secondary
#166A70
accent
#EFFF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0401

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

Preview Lab → · Contrast checker → · Palette generator →

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