#2A1012#2A1012

#2A1012 is a very dark, muted red. Relative luminance 0.009; OKLCH L 21.4% C 0.043 H 16.6°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#2A1012
RGBrgb(42, 16, 18)
HSLhsl(355, 45%, 11%)
HSVhsv(355, 62%, 16%)
CMYKcmyk(0%, 61.9%, 57.1%, 83.5%)
CIE-LABlab(8.19, 13.74, 4.37)
CIE-LCHlch(8.19, 14.42, 17.65°)
OKLaboklab(21.38% 0.0415 0.0124)
OKLCHoklch(21.38% 0.043 16.6)
XYZxyz(1.2494, 0.9066, 0.6813)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1012 #102A28
analogous
#2A101F #2A1012 #2A1B10
triadic
#2A1012 #122A10 #10122A
tetradic
#2A1012 #1F2A10 #102A28 #1B102A
square
#2A1012 #1F2A10 #102A28 #1B102A
split-complementary
#2A1012 #102A1B #101F2A
monochromatic
#160809 #160809 #2A1012 #562125 #833238

Accessibility & contrast

On white

17.78
#2A1012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A1012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1012
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1012#FFFFFF#000000##FFFFFF
##2A10121.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151512
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#2E0D11
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a1012;
/* rgb */ color: rgb(42, 16, 18);
/* oklch */ color: oklch(21.4% 0.043 16.6);
Tailwind
colors: {
  custom: {
    50: '#654f4f',
    500: '#2a1012',
    950: '#000000',
  },
}
SCSS
$custom: #2a1012;
$custom-light: #654f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1012",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 355.385,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21381,
    "c": 0.04326,
    "h": 16.6
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#2A1012
secondary
#33625F
accent
#D5CB53
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2A1012

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

Preview Lab → · Contrast checker → · Palette generator →

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