#2B040B#2B040B

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

Color values

HEX#2B040B
RGBrgb(43, 4, 11)
HSLhsl(349, 83%, 9%)
HSVhsv(349, 91%, 17%)
CMYKcmyk(0%, 90.7%, 74.4%, 83.1%)
CIE-LABlab(5.64, 19.82, 4.31)
CIE-LCHlch(5.64, 20.28, 12.26°)
OKLaboklab(19.24% 0.0632 0.016)
OKLCHoklch(19.24% 0.065 14.2)
XYZxyz(1.1002, 0.6247, 0.3792)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040B #042B24
analogous
#2B041F #2B040B #2B1104
triadic
#2B040B #0B2B04 #040B2B
tetradic
#2B040B #1F2B04 #042B24 #11042B
square
#2B040B #1F2B04 #042B24 #11042B
split-complementary
#2B040B #042B11 #041F2B
monochromatic
#1C0307 #1C0307 #2B040B #630919 #9B0E28

Accessibility & contrast

On white

18.67
#2B040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B040B
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B040B#FFFFFF#000000##FFFFFF
##2B040B1.0018.671.1318.67
#FFFFFF18.671.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D0B
Deuteranopia (green-blind)
#18150A
Tritanopia (blue-blind)
#300006
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b040b;
/* rgb */ color: rgb(43, 4, 11);
/* oklch */ color: oklch(19.2% 0.065 14.2);
Tailwind
colors: {
  custom: {
    50: '#67484c',
    500: '#2b040b',
    950: '#000000',
  },
}
SCSS
$custom: #2b040b;
$custom-light: #67484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040b",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 349.231,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19243,
    "c": 0.06516,
    "h": 14.2
  },
  "luminance": 0.00625
}

Semantic roles & 50–950 ramp

primary
#2B040B
secondary
#1D6E5F
accent
#F9D52E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040B

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

Preview Lab → · Contrast checker → · Palette generator →

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