#280404#280404

#280404 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.4% C 0.062 H 25.8°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#280404
RGBrgb(40, 4, 4)
HSLhsl(0, 82%, 9%)
HSVhsv(0, 90%, 16%)
CMYKcmyk(0%, 90%, 90%, 84.3%)
CIE-LABlab(4.94, 17.08, 6.07)
CIE-LCHlch(4.94, 18.13, 19.57°)
OKLaboklab(18.36% 0.0557 0.0269)
OKLCHoklch(18.36% 0.062 25.8)
XYZxyz(0.9405, 0.5469, 0.1709)
Luminance0.0055 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280404 #042828
analogous
#280416 #280404 #281604
triadic
#280404 #042804 #040428
tetradic
#280404 #162804 #042828 #160428
square
#280404 #162804 #042828 #160428
split-complementary
#280404 #042816 #041628
monochromatic
#1C0303 #1C0303 #280404 #600A0A #970F0F

Accessibility & contrast

On white

18.93
#280404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#280404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280404
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280404#FFFFFF#000000##FFFFFF
##2804041.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0B04
Deuteranopia (green-blind)
#171403
Tritanopia (blue-blind)
#2D0004
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #280404;
/* rgb */ color: rgb(40, 4, 4);
/* oklch */ color: oklch(18.4% 0.062 25.8);
Tailwind
colors: {
  custom: {
    50: '#634848',
    500: '#280404',
    950: '#000000',
  },
}
SCSS
$custom: #280404;
$custom-light: #634848;
$custom-dark: #000000;
JSON
{
  "hex": "#280404",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 4
  },
  "hsl": {
    "h": 0,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18361,
    "c": 0.06186,
    "h": 25.8
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#280404
secondary
#1D6B6B
accent
#F8F830
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #280404

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

Preview Lab → · Contrast checker → · Palette generator →

#280404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva