#2A0C08#2A0C08

#2A0C08 is a very dark, muted red. Relative luminance 0.008; OKLCH L 20.4% C 0.051 H 30.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#2A0C08
RGBrgb(42, 12, 8)
HSLhsl(7, 68%, 10%)
HSVhsv(7, 81%, 16%)
CMYKcmyk(0%, 71.4%, 81%, 83.5%)
CIE-LABlab(6.98, 15.07, 7.47)
CIE-LCHlch(6.98, 16.82, 26.37°)
OKLaboklab(20.35% 0.0443 0.0257)
OKLCHoklch(20.35% 0.051 30)
XYZxyz(1.1303, 0.7729, 0.3193)
Luminance0.0077 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0C08 #08262A
analogous
#2A0815 #2A0C08 #2A1D08
triadic
#2A0C08 #082A0C #0C082A
tetradic
#2A0C08 #152A08 #08262A #1D082A
square
#2A0C08 #152A08 #08262A #1D082A
split-complementary
#2A0C08 #082A1D #08152A
monochromatic
#1A0705 #1A0705 #2A0C08 #5D1B12 #91291C

Accessibility & contrast

On white

18.19
#2A0C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0C08
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0C08#FFFFFF#000000##FFFFFF
##2A0C081.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141108
Deuteranopia (green-blind)
#1B1807
Tritanopia (blue-blind)
#2F060B
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0c08;
/* rgb */ color: rgb(42, 12, 8);
/* oklch */ color: oklch(20.4% 0.051 30.0);
Tailwind
colors: {
  custom: {
    50: '#654c4a',
    500: '#2a0c08',
    950: '#000000',
  },
}
SCSS
$custom: #2a0c08;
$custom-light: #654c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0c08",
  "rgb": {
    "r": 42,
    "g": 12,
    "b": 8
  },
  "hsl": {
    "h": 7.059,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20353,
    "c": 0.05122,
    "h": 30
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#2A0C08
secondary
#256169
accent
#D6EB3D
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060101
muted
#7A7777

Preview Lab

Preview with #2A0C08

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

Preview Lab → · Contrast checker → · Palette generator →

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