#2A0102#2A0102

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

Color values

HEX#2A0102
RGBrgb(42, 1, 2)
HSLhsl(359, 95%, 8%)
HSVhsv(359, 98%, 16%)
CMYKcmyk(0%, 97.6%, 95.2%, 83.5%)
CIE-LABlab(4.68, 19.55, 6.56)
CIE-LCHlch(4.68, 20.62, 18.54°)
OKLaboklab(18.17% 0.0635 0.031)
OKLCHoklch(18.17% 0.071 26)
XYZxyz(0.9768, 0.5185, 0.1061)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0102 #012A29
analogous
#2A0116 #2A0102 #2A1401
triadic
#2A0102 #022A01 #01022A
tetradic
#2A0102 #162A01 #012A29 #14012A
square
#2A0102 #162A01 #012A29 #14012A
split-complementary
#2A0102 #012A14 #01162A
monochromatic
#1E0101 #1E0101 #2A0102 #660205 #A20408

Accessibility & contrast

On white

19.03
#2A0102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0102
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0102#FFFFFF#000000##FFFFFF
##2A01021.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0102;
/* rgb */ color: rgb(42, 1, 2);
/* oklch */ color: oklch(18.2% 0.071 26.0);
Tailwind
colors: {
  custom: {
    50: '#664648',
    500: '#2a0102',
    950: '#000000',
  },
}
SCSS
$custom: #2a0102;
$custom-light: #664648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0102",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 2
  },
  "hsl": {
    "h": 358.537,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18169,
    "c": 0.07067,
    "h": 26
  },
  "luminance": 0.00518
}

Semantic roles & 50–950 ramp

primary
#2A0102
secondary
#16706E
accent
#FFFA29
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#060000
muted
#7A7677

Preview Lab

Preview with #2A0102

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

Preview Lab → · Contrast checker → · Palette generator →

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