#2B040C#2B040C

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

Color values

HEX#2B040C
RGBrgb(43, 4, 12)
HSLhsl(348, 83%, 9%)
HSVhsv(348, 91%, 17%)
CMYKcmyk(0%, 90.7%, 72.1%, 83.1%)
CIE-LABlab(5.66, 19.93, 3.89)
CIE-LCHlch(5.66, 20.30, 11.06°)
OKLaboklab(19.27% 0.0637 0.0143)
OKLCHoklch(19.27% 0.065 12.6)
XYZxyz(1.1061, 0.6271, 0.4106)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B040C #042B23
analogous
#2B0420 #2B040C #2B1004
triadic
#2B040C #0C2B04 #040C2B
tetradic
#2B040C #202B04 #042B23 #10042B
square
#2B040C #202B04 #042B23 #10042B
split-complementary
#2B040C #042B10 #04202B
monochromatic
#1C0308 #1C0308 #2B040C #63091C #9B0E2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B040C#FFFFFF#000000##FFFFFF
##2B040C1.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)
#0D0D0C
Deuteranopia (green-blind)
#18150B
Tritanopia (blue-blind)
#300007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2b040c;
/* rgb */ color: rgb(43, 4, 12);
/* oklch */ color: oklch(19.3% 0.065 12.6);
Tailwind
colors: {
  custom: {
    50: '#67484c',
    500: '#2b040c',
    950: '#000000',
  },
}
SCSS
$custom: #2b040c;
$custom-light: #67484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b040c",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 347.692,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19272,
    "c": 0.06525,
    "h": 12.6
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#2B040C
secondary
#1D6E5D
accent
#F9D02E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2B040C

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

Preview Lab → · Contrast checker → · Palette generator →

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