#2B040D#2B040D

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

Color values

HEX#2B040D
RGBrgb(43, 4, 13)
HSLhsl(346, 83%, 9%)
HSVhsv(346, 91%, 17%)
CMYKcmyk(0%, 90.7%, 69.8%, 83.1%)
CIE-LABlab(5.69, 20.04, 3.46)
CIE-LCHlch(5.69, 20.34, 9.80°)
OKLaboklab(19.3% 0.0642 0.0125)
OKLCHoklch(19.3% 0.065 11)
XYZxyz(1.1124, 0.6296, 0.4436)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040D #042B22
analogous
#2B0421 #2B040D #2B0F04
triadic
#2B040D #0D2B04 #040D2B
tetradic
#2B040D #212B04 #042B22 #0F042B
square
#2B040D #212B04 #042B22 #0F042B
split-complementary
#2B040D #042B0F #04212B
monochromatic
#1C0308 #1C0308 #2B040D #63091E #9B0E2F

Accessibility & contrast

On white

18.65
#2B040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B040D
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B040D#FFFFFF#000000##FFFFFF
##2B040D1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0D
Deuteranopia (green-blind)
#18160C
Tritanopia (blue-blind)
#300007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2b040d;
/* rgb */ color: rgb(43, 4, 13);
/* oklch */ color: oklch(19.3% 0.065 11.0);
Tailwind
colors: {
  custom: {
    50: '#67484d',
    500: '#2b040d',
    950: '#000000',
  },
}
SCSS
$custom: #2b040d;
$custom-light: #67484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040d",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 346.154,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19302,
    "c": 0.06538,
    "h": 11
  },
  "luminance": 0.00629
}

Semantic roles & 50–950 ramp

primary
#2B040D
secondary
#1D6E5B
accent
#F9CB2E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040D

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

Preview Lab → · Contrast checker → · Palette generator →

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