#2A0204#2A0204

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

Color values

HEX#2A0204
RGBrgb(42, 2, 4)
HSLhsl(357, 91%, 9%)
HSVhsv(357, 95%, 16%)
CMYKcmyk(0%, 95.2%, 90.5%, 83.5%)
CIE-LABlab(4.92, 19.34, 6.09)
CIE-LCHlch(4.92, 20.28, 17.47°)
OKLaboklab(18.43% 0.0627 0.0269)
OKLCHoklch(18.43% 0.068 23.3)
XYZxyz(0.9986, 0.5446, 0.1674)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0204 #022A28
analogous
#2A0218 #2A0204 #2A1402
triadic
#2A0204 #042A02 #02042A
tetradic
#2A0204 #182A02 #022A28 #14022A
square
#2A0204 #182A02 #022A28 #14022A
split-complementary
#2A0204 #022A14 #02182A
monochromatic
#1D0103 #1D0103 #2A0204 #64050A #9F080F

Accessibility & contrast

On white

18.94
#2A0204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0204
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0204#FFFFFF#000000##FFFFFF
##2A02041.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0204;
/* rgb */ color: rgb(42, 2, 4);
/* oklch */ color: oklch(18.4% 0.068 23.3);
Tailwind
colors: {
  custom: {
    50: '#664748',
    500: '#2a0204',
    950: '#000000',
  },
}
SCSS
$custom: #2a0204;
$custom-light: #664748;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0204",
  "rgb": {
    "r": 42,
    "g": 2,
    "b": 4
  },
  "hsl": {
    "h": 357,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18431,
    "c": 0.0682,
    "h": 23.3
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#2A0204
secondary
#196F6B
accent
#FFF429
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0204

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

Preview Lab → · Contrast checker → · Palette generator →

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