#2A030A#2A030A

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

Color values

HEX#2A030A
RGBrgb(42, 3, 10)
HSLhsl(349, 87%, 9%)
HSVhsv(349, 93%, 16%)
CMYKcmyk(0%, 92.9%, 76.2%, 83.5%)
CIE-LABlab(5.23, 19.56, 4.10)
CIE-LCHlch(5.23, 19.99, 11.84°)
OKLaboklab(18.8% 0.0639 0.0161)
OKLCHoklch(18.8% 0.066 14.1)
XYZxyz(1.0423, 0.5794, 0.3441)
Luminance0.0058 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A030A #032A23
analogous
#2A031E #2A030A #2A1003
triadic
#2A030A #0A2A03 #030A2A
tetradic
#2A030A #1E2A03 #032A23 #10032A
square
#2A030A #1E2A03 #032A23 #10032A
split-complementary
#2A030A #032A10 #031E2A
monochromatic
#1D0207 #1D0207 #2A030A #630718 #9C0B25

Accessibility & contrast

On white

18.82
#2A030A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A030A
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A030A#FFFFFF#000000##FFFFFF
##2A030A1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0C0A
Deuteranopia (green-blind)
#171409
Tritanopia (blue-blind)
#2F0005
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a030a;
/* rgb */ color: rgb(42, 3, 10);
/* oklch */ color: oklch(18.8% 0.066 14.1);
Tailwind
colors: {
  custom: {
    50: '#66474b',
    500: '#2a030a',
    950: '#000000',
  },
}
SCSS
$custom: #2a030a;
$custom-light: #66474b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a030a",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 10
  },
  "hsl": {
    "h": 349.231,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18798,
    "c": 0.06593,
    "h": 14.1
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#2A030A
secondary
#1B6E5F
accent
#FDD72B
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A030A

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

Preview Lab → · Contrast checker → · Palette generator →

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