#2A0202#2A0202

#2A0202 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.4% C 0.069 H 27.4°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#2A0202
RGBrgb(42, 2, 2)
HSLhsl(0, 91%, 9%)
HSVhsv(0, 95%, 16%)
CMYKcmyk(0%, 95.2%, 95.2%, 83.5%)
CIE-LABlab(4.88, 19.11, 6.84)
CIE-LCHlch(4.88, 20.30, 19.71°)
OKLaboklab(18.37% 0.061 0.0316)
OKLCHoklch(18.37% 0.069 27.4)
XYZxyz(0.9876, 0.5402, 0.1097)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0202 #022A2A
analogous
#2A0216 #2A0202 #2A1602
triadic
#2A0202 #022A02 #02022A
tetradic
#2A0202 #162A02 #022A2A #16022A
square
#2A0202 #162A02 #022A2A #16022A
split-complementary
#2A0202 #022A16 #02162A
monochromatic
#1D0101 #1D0101 #2A0202 #640505 #9F0808

Accessibility & contrast

On white

18.95
#2A0202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0202
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0202#FFFFFF#000000##FFFFFF
##2A02021.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B02
Deuteranopia (green-blind)
#181401
Tritanopia (blue-blind)
#2F0002
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2a0202;
/* rgb */ color: rgb(42, 2, 2);
/* oklch */ color: oklch(18.4% 0.069 27.4);
Tailwind
colors: {
  custom: {
    50: '#664748',
    500: '#2a0202',
    950: '#000000',
  },
}
SCSS
$custom: #2a0202;
$custom-light: #664748;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0202",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18373,
    "c": 0.0687,
    "h": 27.4
  },
  "luminance": 0.0054
}

Semantic roles & 50–950 ramp

primary
#2A0202
secondary
#196F6F
accent
#FFFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0202

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

Preview Lab → · Contrast checker → · Palette generator →

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