#2A0506#2A0506

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

Color values

HEX#2A0506
RGBrgb(42, 5, 6)
HSLhsl(358, 79%, 9%)
HSVhsv(358, 88%, 16%)
CMYKcmyk(0%, 88.1%, 85.7%, 83.5%)
CIE-LABlab(5.55, 18.20, 6.19)
CIE-LCHlch(5.55, 19.23, 18.78°)
OKLaboklab(19.07% 0.0571 0.0248)
OKLCHoklch(19.07% 0.062 23.5)
XYZxyz(1.0421, 0.6141, 0.2359)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0506 #052A29
analogous
#2A0519 #2A0506 #2A1705
triadic
#2A0506 #062A05 #05062A
tetradic
#2A0506 #192A05 #052A29 #17052A
square
#2A0506 #192A05 #052A29 #17052A
split-complementary
#2A0506 #052A17 #05192A
monochromatic
#1B0304 #1B0304 #2A0506 #610C0E #971216

Accessibility & contrast

On white

18.70
#2A0506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2A0506 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0506
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0506#FFFFFF#000000##FFFFFF
##2A05061.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D06
Deuteranopia (green-blind)
#181505
Tritanopia (blue-blind)
#2F0006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2a0506;
/* rgb */ color: rgb(42, 5, 6);
/* oklch */ color: oklch(19.1% 0.062 23.5);
Tailwind
colors: {
  custom: {
    50: '#664849',
    500: '#2a0506',
    950: '#000000',
  },
}
SCSS
$custom: #2a0506;
$custom-light: #664849;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0506",
  "rgb": {
    "r": 42,
    "g": 5,
    "b": 6
  },
  "hsl": {
    "h": 358.378,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19067,
    "c": 0.06223,
    "h": 23.5
  },
  "luminance": 0.00614
}

Semantic roles & 50–950 ramp

primary
#2A0506
secondary
#1F6C6A
accent
#F5F033
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2A0506

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

Preview Lab → · Contrast checker → · Palette generator →

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