#2A0103#2A0103

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

Color values

HEX#2A0103
RGBrgb(42, 1, 3)
HSLhsl(357, 95%, 8%)
HSVhsv(357, 98%, 16%)
CMYKcmyk(0%, 97.6%, 92.9%, 83.5%)
CIE-LABlab(4.70, 19.67, 6.18)
CIE-LCHlch(4.70, 20.62, 17.44°)
OKLaboklab(18.2% 0.0644 0.0286)
OKLCHoklch(18.2% 0.07 23.9)
XYZxyz(0.9823, 0.5207, 0.1349)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0103 #012A28
analogous
#2A0117 #2A0103 #2A1301
triadic
#2A0103 #032A01 #01032A
tetradic
#2A0103 #172A01 #012A28 #13012A
square
#2A0103 #172A01 #012A28 #13012A
split-complementary
#2A0103 #012A13 #01172A
monochromatic
#1E0102 #1E0102 #2A0103 #660207 #A2040C

Accessibility & contrast

On white

19.02
#2A0103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0103
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0103#FFFFFF#000000##FFFFFF
##2A01031.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0103;
/* rgb */ color: rgb(42, 1, 3);
/* oklch */ color: oklch(18.2% 0.070 23.9);
Tailwind
colors: {
  custom: {
    50: '#664648',
    500: '#2a0103',
    950: '#000000',
  },
}
SCSS
$custom: #2a0103;
$custom-light: #664648;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0103",
  "rgb": {
    "r": 42,
    "g": 1,
    "b": 3
  },
  "hsl": {
    "h": 357.073,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18199,
    "c": 0.07042,
    "h": 23.9
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#2A0103
secondary
#16706C
accent
#FFF529
background
#F6F3F4
surface
#EBE5E6
border
#C6C1C2
text
#060000
muted
#7A7677

Preview Lab

Preview with #2A0103

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

Preview Lab → · Contrast checker → · Palette generator →

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