#280402#280402

#280402 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.3% C 0.063 H 30.2°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#280402
RGBrgb(40, 4, 2)
HSLhsl(3, 90%, 8%)
HSVhsv(3, 95%, 16%)
CMYKcmyk(0%, 90%, 95%, 84.3%)
CIE-LABlab(4.90, 16.84, 6.83)
CIE-LCHlch(4.90, 18.17, 22.08°)
OKLaboklab(18.3% 0.0541 0.0315)
OKLCHoklch(18.3% 0.063 30.2)
XYZxyz(0.9296, 0.5425, 0.1132)
Luminance0.0054 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280402 #022628
analogous
#280213 #280402 #281702
triadic
#280402 #022804 #040228
tetradic
#280402 #132802 #022628 #170228
square
#280402 #132802 #022628 #170228
split-complementary
#280402 #022817 #021328
monochromatic
#1D0301 #1D0301 #280402 #620A05 #9D1008

Accessibility & contrast

On white

18.95
#280402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280402
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280402#FFFFFF#000000##FFFFFF
##2804021.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #280402;
/* rgb */ color: rgb(40, 4, 2);
/* oklch */ color: oklch(18.3% 0.063 30.2);
Tailwind
colors: {
  custom: {
    50: '#634848',
    500: '#280402',
    950: '#000000',
  },
}
SCSS
$custom: #280402;
$custom-light: #634848;
$custom-dark: #000000;
JSON
{
  "hex": "#280402",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 3.158,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18303,
    "c": 0.06259,
    "h": 30.2
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#280402
secondary
#19696D
accent
#F4FF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #280402

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

Preview Lab → · Contrast checker → · Palette generator →

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