#21040B#21040B

#21040B is a very dark, muted red. Relative luminance 0.004; OKLCH L 17.0% C 0.053 H 7.9°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#21040B
RGBrgb(33, 4, 11)
HSLhsl(346, 78%, 7%)
HSVhsv(346, 88%, 13%)
CMYKcmyk(0%, 87.9%, 66.7%, 87.1%)
CIE-LABlab(3.92, 13.04, 1.59)
CIE-LCHlch(3.92, 13.13, 6.95°)
OKLaboklab(16.99% 0.0521 0.0072)
OKLCHoklch(16.99% 0.053 7.9)
XYZxyz(0.7311, 0.4344, 0.3619)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21040B #04211A
analogous
#21041A #21040B #210C04
triadic
#21040B #0B2104 #040B21
tetradic
#21040B #1A2104 #04211A #0C0421
square
#21040B #1A2104 #04211A #0C0421
split-complementary
#21040B #04210C #041A21
monochromatic
#1B0309 #1B0309 #21040B #580B1D #8E112F

Accessibility & contrast

On white

19.32
#21040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#21040B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21040B
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21040B#FFFFFF#000000##FFFFFF
##21040B1.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0A0B
Deuteranopia (green-blind)
#12100A
Tritanopia (blue-blind)
#250106
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #21040b;
/* rgb */ color: rgb(33, 4, 11);
/* oklch */ color: oklch(17.0% 0.053 7.9);
Tailwind
colors: {
  custom: {
    50: '#5c484c',
    500: '#21040b',
    950: '#000000',
  },
}
SCSS
$custom: #21040b;
$custom-light: #5c484c;
$custom-dark: #000000;
JSON
{
  "hex": "#21040b",
  "rgb": {
    "r": 33,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 345.517,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16993,
    "c": 0.05259,
    "h": 7.9
  },
  "luminance": 0.00434
}

Semantic roles & 50–950 ramp

primary
#21040B
secondary
#1D6453
accent
#F5C633
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #21040B

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

Preview Lab → · Contrast checker → · Palette generator →

#21040B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva