#2A070C#2A070C

#2A070C is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.6% C 0.058 H 15.7°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#2A070C
RGBrgb(42, 7, 12)
HSLhsl(351, 71%, 10%)
HSVhsv(351, 83%, 16%)
CMYKcmyk(0%, 83.3%, 71.4%, 83.5%)
CIE-LABlab(6.06, 17.92, 4.45)
CIE-LCHlch(6.06, 18.46, 13.94°)
OKLaboklab(19.59% 0.0561 0.0158)
OKLCHoklch(19.59% 0.058 15.7)
XYZxyz(1.0973, 0.6709, 0.4195)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A070C #072A25
analogous
#2A071E #2A070C #2A1407
triadic
#2A070C #0C2A07 #070C2A
tetradic
#2A070C #1E2A07 #072A25 #14072A
square
#2A070C #1E2A07 #072A25 #14072A
split-complementary
#2A070C #072A14 #071E2A
monochromatic
#1A0407 #1A0407 #2A070C #5E101B #93182A

Accessibility & contrast

On white

18.52
#2A070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A070C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A070C
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A070C#FFFFFF#000000##FFFFFF
##2A070C1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#19160B
Tritanopia (blue-blind)
#2F0209
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2a070c;
/* rgb */ color: rgb(42, 7, 12);
/* oklch */ color: oklch(19.6% 0.058 15.7);
Tailwind
colors: {
  custom: {
    50: '#66494c',
    500: '#2a070c',
    950: '#000000',
  },
}
SCSS
$custom: #2a070c;
$custom-light: #66494c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a070c",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 351.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19589,
    "c": 0.0583,
    "h": 15.7
  },
  "luminance": 0.00671
}

Semantic roles & 50–950 ramp

primary
#2A070C
secondary
#236A60
accent
#EED43A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060101
muted
#7A7777

Preview Lab

Preview with #2A070C

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

Preview Lab → · Contrast checker → · Palette generator →

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