#280302#280302

#280302 is a very dark, moderate red. Relative luminance 0.005; OKLCH L 18.1% C 0.064 H 28.7°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#280302
RGBrgb(40, 3, 2)
HSLhsl(2, 90%, 8%)
HSVhsv(2, 95%, 16%)
CMYKcmyk(0%, 92.5%, 95%, 84.3%)
CIE-LABlab(4.70, 17.27, 6.54)
CIE-LCHlch(4.70, 18.46, 20.76°)
OKLaboklab(18.1% 0.0565 0.031)
OKLCHoklch(18.1% 0.064 28.7)
XYZxyz(0.9187, 0.5208, 0.1096)
Luminance0.0052 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280302 #022728
analogous
#280214 #280302 #281602
triadic
#280302 #022803 #030228
tetradic
#280302 #142802 #022728 #160228
square
#280302 #142802 #022728 #160228
split-complementary
#280302 #022816 #021428
monochromatic
#1D0201 #1D0201 #280302 #620705 #9D0C08

Accessibility & contrast

On white

19.02
#280302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#280302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280302
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280302#FFFFFF#000000##FFFFFF
##2803021.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B02
Deuteranopia (green-blind)
#171301
Tritanopia (blue-blind)
#2D0003
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280302;
/* rgb */ color: rgb(40, 3, 2);
/* oklch */ color: oklch(18.1% 0.064 28.7);
Tailwind
colors: {
  custom: {
    50: '#634748',
    500: '#280302',
    950: '#000000',
  },
}
SCSS
$custom: #280302;
$custom-light: #634748;
$custom-dark: #000000;
JSON
{
  "hex": "#280302",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 2
  },
  "hsl": {
    "h": 1.579,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18098,
    "c": 0.0644,
    "h": 28.7
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#280302
secondary
#196B6D
accent
#F9FF29
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #280302

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

Preview Lab → · Contrast checker → · Palette generator →

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