#2A0108#2A0108

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

Color values

HEX#2A0108
RGBrgb(42, 1, 8)
HSLhsl(350, 95%, 8%)
HSVhsv(350, 98%, 16%)
CMYKcmyk(0%, 97.6%, 81%, 83.5%)
CIE-LABlab(4.80, 20.25, 4.29)
CIE-LCHlch(4.80, 20.70, 11.96°)
OKLaboklab(18.35% 0.0678 0.018)
OKLCHoklch(18.35% 0.07 14.9)
XYZxyz(1.0096, 0.5316, 0.2791)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0108 #012A23
analogous
#2A011C #2A0108 #2A0E01
triadic
#2A0108 #082A01 #01082A
tetradic
#2A0108 #1C2A01 #012A23 #0E012A
square
#2A0108 #1C2A01 #012A23 #0E012A
split-complementary
#2A0108 #012A0E #011C2A
monochromatic
#1E0106 #1E0106 #2A0108 #660213 #A2041F

Accessibility & contrast

On white

18.98
#2A0108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0108
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0108#FFFFFF#000000##FFFFFF
##2A01081.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0108;
/* rgb */ color: rgb(42, 1, 8);
/* oklch */ color: oklch(18.3% 0.070 14.9);
Tailwind
colors: {
  custom: {
    50: '#66464a',
    500: '#2a0108',
    950: '#000000',
  },
}
SCSS
$custom: #2a0108;
$custom-light: #66464a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0108",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 8
  },
  "hsl": {
    "h": 349.756,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18346,
    "c": 0.07016,
    "h": 14.9
  },
  "luminance": 0.00531
}

Semantic roles & 50–950 ramp

primary
#2A0108
secondary
#167061
accent
#FFDA29
background
#F6F3F4
surface
#EBE5E7
border
#C6C1C3
text
#060001
muted
#7A7677

Preview Lab

Preview with #2A0108

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

Preview Lab → · Contrast checker → · Palette generator →

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