#28161A#28161A

#28161A is a very dark, muted red. Relative luminance 0.011; OKLCH L 22.6% C 0.030 H 5.3°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#28161A
RGBrgb(40, 22, 26)
HSLhsl(347, 29%, 12%)
HSVhsv(347, 45%, 16%)
CMYKcmyk(0%, 45%, 35%, 84.3%)
CIE-LABlab(9.79, 9.86, 1.00)
CIE-LCHlch(9.79, 9.91, 5.79°)
OKLaboklab(22.62% 0.0298 0.0028)
OKLCHoklch(22.62% 0.03 5.3)
XYZxyz(1.3485, 1.0996, 1.1183)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28161A #162824
analogous
#281623 #28161A #281B16
triadic
#28161A #1A2816 #161A28
tetradic
#28161A #232816 #162824 #1B1628
square
#28161A #232816 #162824 #1B1628
split-complementary
#28161A #16281B #162328
monochromatic
#140B0D #140B0D #28161A #4F2C34 #77414D

Accessibility & contrast

On white

17.21
#28161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#28161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28161A
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28161A#FFFFFF#000000##FFFFFF
##28161A1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19191A
Deuteranopia (green-blind)
#1D1C1A
Tritanopia (blue-blind)
#2B1517
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28161a;
/* rgb */ color: rgb(40, 22, 26);
/* oklch */ color: oklch(22.6% 0.030 5.3);
Tailwind
colors: {
  custom: {
    50: '#625356',
    500: '#28161a',
    950: '#000000',
  },
}
SCSS
$custom: #28161a;
$custom-light: #625356;
$custom-dark: #000000;
JSON
{
  "hex": "#28161a",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 346.667,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22617,
    "c": 0.02996,
    "h": 5.3
  },
  "luminance": 0.011
}

Semantic roles & 50–950 ramp

primary
#28161A
secondary
#3D5D56
accent
#C5AF62
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28161A

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

Preview Lab → · Contrast checker → · Palette generator →

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