#2A0405#2A0405

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

Color values

HEX#2A0405
RGBrgb(42, 4, 5)
HSLhsl(358, 83%, 9%)
HSVhsv(358, 90%, 16%)
CMYKcmyk(0%, 90.5%, 88.1%, 83.5%)
CIE-LABlab(5.33, 18.55, 6.28)
CIE-LCHlch(5.33, 19.59, 18.71°)
OKLaboklab(18.85% 0.0586 0.0261)
OKLCHoklch(18.85% 0.064 24)
XYZxyz(1.0258, 0.5902, 0.2035)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0405 #042A29
analogous
#2A0418 #2A0405 #2A1604
triadic
#2A0405 #052A04 #04052A
tetradic
#2A0405 #182A04 #042A29 #16042A
square
#2A0405 #182A04 #042A29 #16042A
split-complementary
#2A0405 #042A16 #04182A
monochromatic
#1C0303 #1C0303 #2A0405 #62090C #9A0F12

Accessibility & contrast

On white

18.78
#2A0405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0405
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0405#FFFFFF#000000##FFFFFF
##2A04051.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C05
Deuteranopia (green-blind)
#181504
Tritanopia (blue-blind)
#2F0005
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0405;
/* rgb */ color: rgb(42, 4, 5);
/* oklch */ color: oklch(18.9% 0.064 24.0);
Tailwind
colors: {
  custom: {
    50: '#664849',
    500: '#2a0405',
    950: '#000000',
  },
}
SCSS
$custom: #2a0405;
$custom-light: #664849;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0405",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 5
  },
  "hsl": {
    "h": 358.421,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18851,
    "c": 0.0642,
    "h": 24
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#2A0405
secondary
#1D6D6B
accent
#F9F42F
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0405

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

Preview Lab → · Contrast checker → · Palette generator →

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