#2B040A#2B040A

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

Color values

HEX#2B040A
RGBrgb(43, 4, 10)
HSLhsl(351, 83%, 9%)
HSVhsv(351, 91%, 17%)
CMYKcmyk(0%, 90.7%, 76.7%, 83.1%)
CIE-LABlab(5.62, 19.71, 4.69)
CIE-LCHlch(5.62, 20.26, 13.40°)
OKLaboklab(19.22% 0.0627 0.0177)
OKLCHoklch(19.22% 0.065 15.8)
XYZxyz(1.0946, 0.6225, 0.3496)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040A #042B25
analogous
#2B041E #2B040A #2B1204
triadic
#2B040A #0A2B04 #040A2B
tetradic
#2B040A #1E2B04 #042B25 #12042B
square
#2B040A #1E2B04 #042B25 #12042B
split-complementary
#2B040A #042B12 #041E2B
monochromatic
#1C0307 #1C0307 #2B040A #630917 #9B0E24

Accessibility & contrast

On white

18.68
#2B040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B040A
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B040A#FFFFFF#000000##FFFFFF
##2B040A1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D0A
Deuteranopia (green-blind)
#181509
Tritanopia (blue-blind)
#300006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b040a;
/* rgb */ color: rgb(43, 4, 10);
/* oklch */ color: oklch(19.2% 0.065 15.8);
Tailwind
colors: {
  custom: {
    50: '#67484b',
    500: '#2b040a',
    950: '#000000',
  },
}
SCSS
$custom: #2b040a;
$custom-light: #67484b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040a",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 350.769,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19216,
    "c": 0.06511,
    "h": 15.8
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#2B040A
secondary
#1D6E61
accent
#F9DA2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040A

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

Preview Lab → · Contrast checker → · Palette generator →

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