#2A0301#2A0301

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

Color values

HEX#2A0301
RGBrgb(42, 3, 1)
HSLhsl(3, 95%, 8%)
HSVhsv(3, 98%, 16%)
CMYKcmyk(0%, 92.9%, 97.6%, 83.5%)
CIE-LABlab(5.06, 18.55, 7.51)
CIE-LCHlch(5.06, 20.01, 22.04°)
OKLaboklab(18.55% 0.0577 0.0346)
OKLCHoklch(18.55% 0.067 31)
XYZxyz(0.9930, 0.5597, 0.0845)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0301 #01282A
analogous
#2A0113 #2A0301 #2A1701
triadic
#2A0301 #012A03 #03012A
tetradic
#2A0301 #132A01 #01282A #17012A
square
#2A0301 #132A01 #01282A #17012A
split-complementary
#2A0301 #012A17 #01132A
monochromatic
#1E0201 #1E0201 #2A0301 #660702 #A20C04

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A0301#FFFFFF#000000##FFFFFF
##2A03011.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)
#0E0B01
Deuteranopia (green-blind)
#181400
Tritanopia (blue-blind)
#2F0003
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0301;
/* rgb */ color: rgb(42, 3, 1);
/* oklch */ color: oklch(18.5% 0.067 31.0);
Tailwind
colors: {
  custom: {
    50: '#664747',
    500: '#2a0301',
    950: '#000000',
  },
}
SCSS
$custom: #2a0301;
$custom-light: #664747;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0301",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 1
  },
  "hsl": {
    "h": 2.927,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18545,
    "c": 0.06729,
    "h": 31
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#2A0301
secondary
#166C70
accent
#F5FF29
background
#F6F4F3
surface
#EBE6E5
border
#C6C2C1
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0301

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

Preview Lab → · Contrast checker → · Palette generator →

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