#2A0203#2A0203

#2A0203 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.4% C 0.068 H 25.3°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#2A0203
RGBrgb(42, 2, 3)
HSLhsl(359, 91%, 9%)
HSVhsv(359, 95%, 16%)
CMYKcmyk(0%, 95.2%, 92.9%, 83.5%)
CIE-LABlab(4.90, 19.22, 6.47)
CIE-LCHlch(4.90, 20.28, 18.59°)
OKLaboklab(18.4% 0.0619 0.0292)
OKLCHoklch(18.4% 0.068 25.3)
XYZxyz(0.9931, 0.5424, 0.1385)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0203 #022A29
analogous
#2A0217 #2A0203 #2A1502
triadic
#2A0203 #032A02 #02032A
tetradic
#2A0203 #172A02 #022A29 #15022A
square
#2A0203 #172A02 #022A29 #15022A
split-complementary
#2A0203 #022A15 #02172A
monochromatic
#1D0102 #1D0102 #2A0203 #640507 #9F080B

Accessibility & contrast

On white

18.95
#2A0203 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0203
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0203#FFFFFF#000000##FFFFFF
##2A02031.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0203;
/* rgb */ color: rgb(42, 2, 3);
/* oklch */ color: oklch(18.4% 0.068 25.3);
Tailwind
colors: {
  custom: {
    50: '#664748',
    500: '#2a0203',
    950: '#000000',
  },
}
SCSS
$custom: #2a0203;
$custom-light: #664748;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0203",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 3
  },
  "hsl": {
    "h": 358.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18402,
    "c": 0.06841,
    "h": 25.3
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#2A0203
secondary
#196F6D
accent
#FFFA29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0203

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

Preview Lab → · Contrast checker → · Palette generator →

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