#28181C#28181C

#28181C is a very dark, muted red. Relative luminance 0.012; OKLCH L 23.2% C 0.027 H 3.0°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#28181C
RGBrgb(40, 24, 28)
HSLhsl(345, 25%, 13%)
HSVhsv(345, 40%, 16%)
CMYKcmyk(0%, 40%, 30%, 84.3%)
CIE-LABlab(10.47, 8.80, 0.48)
CIE-LCHlch(10.47, 8.81, 3.13°)
OKLaboklab(23.16% 0.0265 0.0014)
OKLCHoklch(23.16% 0.027 3)
XYZxyz(1.4113, 1.1883, 1.2534)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28181C #182824
analogous
#281824 #28181C #281C18
triadic
#28181C #1C2818 #181C28
tetradic
#28181C #242818 #182824 #1C1828
square
#28181C #242818 #182824 #1C1828
split-complementary
#28181C #18281C #182428
monochromatic
#130B0D #130B0D #28181C #4E2F37 #744652

Accessibility & contrast

On white

16.97
#28181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28181C
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28181C#FFFFFF#000000##FFFFFF
##28181C1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28181c;
/* rgb */ color: rgb(40, 24, 28);
/* oklch */ color: oklch(23.2% 0.027 3.0);
Tailwind
colors: {
  custom: {
    50: '#625457',
    500: '#28181c',
    950: '#000000',
  },
}
SCSS
$custom: #28181c;
$custom-light: #625457;
$custom-dark: #000000;
JSON
{
  "hex": "#28181c",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 345,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23158,
    "c": 0.02658,
    "h": 3
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#28181C
secondary
#405C55
accent
#C1AB66
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050303
muted
#797878

Preview Lab

Preview with #28181C

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

Preview Lab → · Contrast checker → · Palette generator →

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