#2A0002#2A0002

#2A0002 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.0% C 0.073 H 24.7°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#2A0002
RGBrgb(42, 0, 2)
HSLhsl(357, 100%, 8%)
HSVhsv(357, 100%, 16%)
CMYKcmyk(0%, 100%, 95.2%, 83.5%)
CIE-LABlab(4.49, 19.99, 6.27)
CIE-LCHlch(4.49, 20.95, 17.41°)
OKLaboklab(17.96% 0.0661 0.0304)
OKLCHoklch(17.96% 0.073 24.7)
XYZxyz(0.9659, 0.4968, 0.1025)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0002 #002A28
analogous
#2A0017 #2A0002 #2A1300
triadic
#2A0002 #022A00 #00022A
tetradic
#2A0002 #172A00 #002A28 #13002A
square
#2A0002 #172A00 #002A28 #13002A
split-complementary
#2A0002 #002A13 #00172A
monochromatic
#1F0001 #1F0001 #2A0002 #670005 #A40008

Accessibility & contrast

On white

19.10
#2A0002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0002
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0002#FFFFFF#000000##FFFFFF
##2A00021.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B0902
Deuteranopia (green-blind)
#171301
Tritanopia (blue-blind)
#2F0001
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #2a0002;
/* rgb */ color: rgb(42, 0, 2);
/* oklch */ color: oklch(18.0% 0.073 24.7);
Tailwind
colors: {
  custom: {
    50: '#664648',
    500: '#2a0002',
    950: '#000000',
  },
}
SCSS
$custom: #2a0002;
$custom-light: #664648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0002",
  "rgb": {
    "r": 42,
    "g": 0,
    "b": 2
  },
  "hsl": {
    "h": 357.143,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17959,
    "c": 0.07275,
    "h": 24.7
  },
  "luminance": 0.00497
}

Semantic roles & 50–950 ramp

primary
#2A0002
secondary
#14726D
accent
#FFF529
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#060000
muted
#7A7677

Preview Lab

Preview with #2A0002

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

Preview Lab → · Contrast checker → · Palette generator →

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