#28080C#28080C

#28080C is a very dark, muted red. Relative luminance 0.007; OKLCH L 19.3% C 0.054 H 16.1°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#28080C
RGBrgb(40, 8, 12)
HSLhsl(353, 67%, 9%)
HSVhsv(353, 80%, 16%)
CMYKcmyk(0%, 80%, 70%, 84.3%)
CIE-LABlab(5.88, 16.26, 4.15)
CIE-LCHlch(5.88, 16.78, 14.32°)
OKLaboklab(19.35% 0.0516 0.0149)
OKLCHoklch(19.35% 0.054 16.1)
XYZxyz(1.0284, 0.6515, 0.4193)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28080C #082824
analogous
#28081C #28080C #281408
triadic
#28080C #0C2808 #080C28
tetradic
#28080C #1C2808 #082824 #140828
square
#28080C #1C2808 #082824 #140828
split-complementary
#28080C #082814 #081C28
monochromatic
#1A0508 #1A0508 #28080C #5B121B #8E1C2B

Accessibility & contrast

On white

18.58
#28080C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#28080C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28080C
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28080C#FFFFFF#000000##FFFFFF
##28080C1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#18150B
Tritanopia (blue-blind)
#2D040A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #28080c;
/* rgb */ color: rgb(40, 8, 12);
/* oklch */ color: oklch(19.3% 0.054 16.1);
Tailwind
colors: {
  custom: {
    50: '#644a4c',
    500: '#28080c',
    950: '#000000',
  },
}
SCSS
$custom: #28080c;
$custom-light: #644a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#28080c",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 12
  },
  "hsl": {
    "h": 352.5,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19345,
    "c": 0.05375,
    "h": 16.1
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#28080C
secondary
#25675E
accent
#EAD43E
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050101
muted
#7A7777

Preview Lab

Preview with #28080C

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

Preview Lab → · Contrast checker → · Palette generator →

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