#280504#280504

#280504 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.6% C 0.060 H 27.3°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#280504
RGBrgb(40, 5, 4)
HSLhsl(2, 82%, 9%)
HSVhsv(2, 90%, 16%)
CMYKcmyk(0%, 87.5%, 90%, 84.3%)
CIE-LABlab(5.14, 16.65, 6.36)
CIE-LCHlch(5.14, 17.83, 20.90°)
OKLaboklab(18.56% 0.0534 0.0275)
OKLCHoklch(18.56% 0.06 27.3)
XYZxyz(0.9514, 0.5686, 0.1745)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280504 #042728
analogous
#280415 #280504 #281704
triadic
#280504 #042805 #050428
tetradic
#280504 #152804 #042728 #170428
square
#280504 #152804 #042728 #170428
split-complementary
#280504 #042817 #041528
monochromatic
#1C0303 #1C0303 #280504 #600C0A #97130F

Accessibility & contrast

On white

18.86
#280504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280504
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280504#FFFFFF#000000##FFFFFF
##2805041.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280504;
/* rgb */ color: rgb(40, 5, 4);
/* oklch */ color: oklch(18.6% 0.060 27.3);
Tailwind
colors: {
  custom: {
    50: '#634848',
    500: '#280504',
    950: '#000000',
  },
}
SCSS
$custom: #280504;
$custom-light: #634848;
$custom-dark: #000000;
JSON
{
  "hex": "#280504",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.1856,
    "c": 0.06007,
    "h": 27.3
  },
  "luminance": 0.00568
}

Semantic roles & 50–950 ramp

primary
#280504
secondary
#1D696B
accent
#F3F830
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #280504

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

Preview Lab → · Contrast checker → · Palette generator →

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