#2A070F#2A070F

#2A070F is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.7% C 0.059 H 10.3°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#2A070F
RGBrgb(42, 7, 15)
HSLhsl(346, 71%, 10%)
HSVhsv(346, 83%, 16%)
CMYKcmyk(0%, 83.3%, 64.3%, 83.5%)
CIE-LABlab(6.13, 18.29, 3.08)
CIE-LCHlch(6.13, 18.54, 9.55°)
OKLaboklab(19.68% 0.0577 0.0105)
OKLCHoklch(19.68% 0.059 10.3)
XYZxyz(1.1171, 0.6788, 0.5240)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A070F #072A22
analogous
#2A0721 #2A070F #2A1107
triadic
#2A070F #0F2A07 #070F2A
tetradic
#2A070F #212A07 #072A22 #11072A
square
#2A070F #212A07 #072A22 #11072A
split-complementary
#2A070F #072A11 #07212A
monochromatic
#1A0409 #1A0409 #2A070F #5E1022 #931834

Accessibility & contrast

On white

18.49
#2A070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A070F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A070F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A070F#FFFFFF#000000##FFFFFF
##2A070F1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0F0F
Deuteranopia (green-blind)
#18160E
Tritanopia (blue-blind)
#2F030A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a070f;
/* rgb */ color: rgb(42, 7, 15);
/* oklch */ color: oklch(19.7% 0.059 10.3);
Tailwind
colors: {
  custom: {
    50: '#66494e',
    500: '#2a070f',
    950: '#000000',
  },
}
SCSS
$custom: #2a070f;
$custom-light: #66494e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a070f",
  "rgb": {
    "r": 42,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 346.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19681,
    "c": 0.05859,
    "h": 10.3
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#2A070F
secondary
#236A5A
accent
#EEC53A
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060101
muted
#7A7777

Preview Lab

Preview with #2A070F

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

Preview Lab → · Contrast checker → · Palette generator →

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