#2A050C#2A050C

#2A050C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.2% C 0.062 H 13.2°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#2A050C
RGBrgb(42, 5, 12)
HSLhsl(349, 79%, 9%)
HSVhsv(349, 88%, 16%)
CMYKcmyk(0%, 88.1%, 71.4%, 83.5%)
CIE-LABlab(5.67, 18.86, 3.88)
CIE-LCHlch(5.67, 19.25, 11.62°)
OKLaboklab(19.23% 0.0604 0.0142)
OKLCHoklch(19.23% 0.062 13.2)
XYZxyz(1.0756, 0.6275, 0.4122)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A050C #052A23
analogous
#2A051F #2A050C #2A1105
triadic
#2A050C #0C2A05 #050C2A
tetradic
#2A050C #1F2A05 #052A23 #11052A
square
#2A050C #1F2A05 #052A23 #11052A
split-complementary
#2A050C #052A11 #051F2A
monochromatic
#1B0308 #1B0308 #2A050C #610C1C #97122B

Accessibility & contrast

On white

18.66
#2A050C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2A050C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A050C
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A050C#FFFFFF#000000##FFFFFF
##2A050C1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0C
Deuteranopia (green-blind)
#18150B
Tritanopia (blue-blind)
#2F0007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a050c;
/* rgb */ color: rgb(42, 5, 12);
/* oklch */ color: oklch(19.2% 0.062 13.2);
Tailwind
colors: {
  custom: {
    50: '#66484c',
    500: '#2a050c',
    950: '#000000',
  },
}
SCSS
$custom: #2a050c;
$custom-light: #66484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a050c",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 12
  },
  "hsl": {
    "h": 348.649,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19231,
    "c": 0.06203,
    "h": 13.2
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#2A050C
secondary
#1F6C5D
accent
#F5D033
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2A050C

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

Preview Lab → · Contrast checker → · Palette generator →

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