#2A0104#2A0104

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

Color values

HEX#2A0104
RGBrgb(42, 1, 4)
HSLhsl(356, 95%, 8%)
HSVhsv(356, 98%, 16%)
CMYKcmyk(0%, 97.6%, 90.5%, 83.5%)
CIE-LABlab(4.72, 19.79, 5.80)
CIE-LCHlch(4.72, 20.62, 16.34°)
OKLaboklab(18.23% 0.0652 0.0263)
OKLCHoklch(18.23% 0.07 22)
XYZxyz(0.9877, 0.5229, 0.1638)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0104 #012A27
analogous
#2A0118 #2A0104 #2A1201
triadic
#2A0104 #042A01 #01042A
tetradic
#2A0104 #182A01 #012A27 #12012A
square
#2A0104 #182A01 #012A27 #12012A
split-complementary
#2A0104 #012A12 #01182A
monochromatic
#1E0103 #1E0103 #2A0104 #66020A #A2040F

Accessibility & contrast

On white

19.01
#2A0104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#2A0104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0104
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0104#FFFFFF#000000##FFFFFF
##2A01041.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0A04
Deuteranopia (green-blind)
#171303
Tritanopia (blue-blind)
#2F0002
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #2a0104;
/* rgb */ color: rgb(42, 1, 4);
/* oklch */ color: oklch(18.2% 0.070 22.0);
Tailwind
colors: {
  custom: {
    50: '#664648',
    500: '#2a0104',
    950: '#000000',
  },
}
SCSS
$custom: #2a0104;
$custom-light: #664648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0104",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 355.61,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18228,
    "c": 0.07025,
    "h": 22
  },
  "luminance": 0.00523
}

Semantic roles & 50–950 ramp

primary
#2A0104
secondary
#16706A
accent
#FFEF29
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#060000
muted
#7A7677

Preview Lab

Preview with #2A0104

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

Preview Lab → · Contrast checker → · Palette generator →

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