#2A0502#2A0502

#2A0502 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.0% C 0.063 H 31.5°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#2A0502
RGBrgb(42, 5, 2)
HSLhsl(5, 91%, 9%)
HSVhsv(5, 95%, 16%)
CMYKcmyk(0%, 88.1%, 95.2%, 83.5%)
CIE-LABlab(5.47, 17.76, 7.70)
CIE-LCHlch(5.47, 19.36, 23.45°)
OKLaboklab(18.96% 0.0541 0.0332)
OKLCHoklch(18.96% 0.063 31.5)
XYZxyz(1.0202, 0.6053, 0.1205)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0502 #02272A
analogous
#2A0213 #2A0502 #2A1902
triadic
#2A0502 #022A05 #05022A
tetradic
#2A0502 #132A02 #02272A #19022A
square
#2A0502 #132A02 #02272A #19022A
split-complementary
#2A0502 #022A19 #02132A
monochromatic
#1D0301 #1D0301 #2A0502 #640C05 #9F1308

Accessibility & contrast

On white

18.73
#2A0502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A0502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0502
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0502#FFFFFF#000000##FFFFFF
##2A05021.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D02
Deuteranopia (green-blind)
#191501
Tritanopia (blue-blind)
#2F0004
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0502;
/* rgb */ color: rgb(42, 5, 2);
/* oklch */ color: oklch(19.0% 0.063 31.5);
Tailwind
colors: {
  custom: {
    50: '#664847',
    500: '#2a0502',
    950: '#000000',
  },
}
SCSS
$custom: #2a0502;
$custom-light: #664847;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0502",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 4.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18959,
    "c": 0.06349,
    "h": 31.5
  },
  "luminance": 0.00605
}

Semantic roles & 50–950 ramp

primary
#2A0502
secondary
#19696F
accent
#EFFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0502

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

Preview Lab → · Contrast checker → · Palette generator →

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