#2A0408#2A0408

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

Color values

HEX#2A0408
RGBrgb(42, 4, 8)
HSLhsl(354, 83%, 9%)
HSVhsv(354, 90%, 16%)
CMYKcmyk(0%, 90.5%, 81%, 83.5%)
CIE-LABlab(5.39, 18.88, 5.15)
CIE-LCHlch(5.39, 19.57, 15.25°)
OKLaboklab(18.93% 0.0605 0.0204)
OKLCHoklch(18.93% 0.064 18.6)
XYZxyz(1.0422, 0.5968, 0.2900)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0408 #042A26
analogous
#2A041B #2A0408 #2A1304
triadic
#2A0408 #082A04 #04082A
tetradic
#2A0408 #1B2A04 #042A26 #13042A
square
#2A0408 #1B2A04 #042A26 #13042A
split-complementary
#2A0408 #042A13 #041B2A
monochromatic
#1C0305 #1C0305 #2A0408 #620913 #9A0F1D

Accessibility & contrast

On white

18.76
#2A0408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0408
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0408#FFFFFF#000000##FFFFFF
##2A04081.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C08
Deuteranopia (green-blind)
#181507
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0408;
/* rgb */ color: rgb(42, 4, 8);
/* oklch */ color: oklch(18.9% 0.064 18.6);
Tailwind
colors: {
  custom: {
    50: '#66484a',
    500: '#2a0408',
    950: '#000000',
  },
}
SCSS
$custom: #2a0408;
$custom-light: #66484a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0408",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 353.684,
    "s": 82.609,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18934,
    "c": 0.06386,
    "h": 18.6
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#2A0408
secondary
#1D6D64
accent
#F9E42F
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A0408

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

Preview Lab → · Contrast checker → · Palette generator →

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