#28181A#28181A

#28181A is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.1% C 0.026 H 11.1°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#28181A
RGBrgb(40, 24, 26)
HSLhsl(353, 25%, 13%)
HSVhsv(353, 40%, 16%)
CMYKcmyk(0%, 40%, 35%, 84.3%)
CIE-LABlab(10.40, 8.42, 1.88)
CIE-LCHlch(10.40, 8.62, 12.57°)
OKLaboklab(23.08% 0.0255 0.005)
OKLCHoklch(23.08% 0.026 11.1)
XYZxyz(1.3882, 1.1791, 1.1315)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28181A #182826
analogous
#281822 #28181A #281E18
triadic
#28181A #1A2818 #181A28
tetradic
#28181A #222818 #182826 #1E1828
square
#28181A #222818 #182826 #1E1828
split-complementary
#28181A #18281E #182228
monochromatic
#130B0C #130B0C #28181A #4E2F33 #74464C

Accessibility & contrast

On white

16.99
#28181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#28181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28181A
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28181A#FFFFFF#000000##FFFFFF
##28181A1.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1A1A
Deuteranopia (green-blind)
#1E1D1A
Tritanopia (blue-blind)
#2B1719
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28181a;
/* rgb */ color: rgb(40, 24, 26);
/* oklch */ color: oklch(23.1% 0.026 11.1);
Tailwind
colors: {
  custom: {
    50: '#625456',
    500: '#28181a',
    950: '#000000',
  },
}
SCSS
$custom: #28181a;
$custom-light: #625456;
$custom-dark: #000000;
JSON
{
  "hex": "#28181a",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 352.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23083,
    "c": 0.02602,
    "h": 11.1
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#28181A
secondary
#405C58
accent
#C1B666
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28181A

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

Preview Lab → · Contrast checker → · Palette generator →

#28181A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva