#2A0302#2A0302

#2A0302 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.6% C 0.067 H 28.7°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#2A0302
RGBrgb(42, 3, 2)
HSLhsl(2, 91%, 9%)
HSVhsv(2, 95%, 16%)
CMYKcmyk(0%, 92.9%, 95.2%, 83.5%)
CIE-LABlab(5.08, 18.66, 7.13)
CIE-LCHlch(5.08, 19.98, 20.91°)
OKLaboklab(18.57% 0.0586 0.0322)
OKLCHoklch(18.57% 0.067 28.7)
XYZxyz(0.9985, 0.5619, 0.1133)
Luminance0.0056 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0302 #02292A
analogous
#2A0215 #2A0302 #2A1702
triadic
#2A0302 #022A03 #03022A
tetradic
#2A0302 #152A02 #02292A #17022A
square
#2A0302 #152A02 #02292A #17022A
split-complementary
#2A0302 #022A17 #02152A
monochromatic
#1D0201 #1D0201 #2A0302 #640705 #9F0B08

Accessibility & contrast

On white

18.88
#2A0302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0302
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0302#FFFFFF#000000##FFFFFF
##2A03021.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0302;
/* rgb */ color: rgb(42, 3, 2);
/* oklch */ color: oklch(18.6% 0.067 28.7);
Tailwind
colors: {
  custom: {
    50: '#664748',
    500: '#2a0302',
    950: '#000000',
  },
}
SCSS
$custom: #2a0302;
$custom-light: #664748;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0302",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 2
  },
  "hsl": {
    "h": 1.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18573,
    "c": 0.06686,
    "h": 28.7
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#2A0302
secondary
#196D6F
accent
#FAFF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0302

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

Preview Lab → · Contrast checker → · Palette generator →

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