#2A0107#2A0107

#2A0107 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.3% C 0.070 H 16.5°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#2A0107
RGBrgb(42, 1, 7)
HSLhsl(351, 95%, 8%)
HSVhsv(351, 98%, 16%)
CMYKcmyk(0%, 97.6%, 83.3%, 83.5%)
CIE-LABlab(4.78, 20.13, 4.67)
CIE-LCHlch(4.78, 20.67, 13.05°)
OKLaboklab(18.32% 0.0672 0.02)
OKLCHoklch(18.32% 0.07 16.5)
XYZxyz(1.0042, 0.5295, 0.2503)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0107 #012A24
analogous
#2A011B #2A0107 #2A0F01
triadic
#2A0107 #072A01 #01072A
tetradic
#2A0107 #1B2A01 #012A24 #0F012A
square
#2A0107 #1B2A01 #012A24 #0F012A
split-complementary
#2A0107 #012A0F #011B2A
monochromatic
#1E0105 #1E0105 #2A0107 #660211 #A2041B

Accessibility & contrast

On white

18.99
#2A0107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2A0107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0107
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0107#FFFFFF#000000##FFFFFF
##2A01071.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0A07
Deuteranopia (green-blind)
#161406
Tritanopia (blue-blind)
#2F0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #2a0107;
/* rgb */ color: rgb(42, 1, 7);
/* oklch */ color: oklch(18.3% 0.070 16.5);
Tailwind
colors: {
  custom: {
    50: '#66464a',
    500: '#2a0107',
    950: '#000000',
  },
}
SCSS
$custom: #2a0107;
$custom-light: #66464a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0107",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 7
  },
  "hsl": {
    "h": 351.22,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18317,
    "c": 0.07011,
    "h": 16.5
  },
  "luminance": 0.00529
}

Semantic roles & 50–950 ramp

primary
#2A0107
secondary
#167063
accent
#FFE029
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #2A0107

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

Preview Lab → · Contrast checker → · Palette generator →

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