#280307#280307

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

Color values

HEX#280307
RGBrgb(40, 3, 7)
HSLhsl(354, 86%, 8%)
HSVhsv(354, 93%, 16%)
CMYKcmyk(0%, 92.5%, 82.5%, 84.3%)
CIE-LABlab(4.80, 17.89, 4.65)
CIE-LCHlch(4.80, 18.48, 14.57°)
OKLaboklab(18.25% 0.0602 0.0199)
OKLCHoklch(18.25% 0.063 18.3)
XYZxyz(0.9461, 0.5317, 0.2538)
Luminance0.0053 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280307 #032824
analogous
#280319 #280307 #281103
triadic
#280307 #072803 #030728
tetradic
#280307 #192803 #032824 #110328
square
#280307 #192803 #032824 #110328
split-complementary
#280307 #032811 #031928
monochromatic
#1C0205 #1C0205 #280307 #610711 #9A0C1B

Accessibility & contrast

On white

18.98
#280307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280307
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280307#FFFFFF#000000##FFFFFF
##2803071.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0B07
Deuteranopia (green-blind)
#161306
Tritanopia (blue-blind)
#2D0005
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #280307;
/* rgb */ color: rgb(40, 3, 7);
/* oklch */ color: oklch(18.2% 0.063 18.3);
Tailwind
colors: {
  custom: {
    50: '#63474a',
    500: '#280307',
    950: '#000000',
  },
}
SCSS
$custom: #280307;
$custom-light: #63474a;
$custom-dark: #000000;
JSON
{
  "hex": "#280307",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 353.514,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.18247,
    "c": 0.06343,
    "h": 18.3
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#280307
secondary
#1B6C63
accent
#FCE62C
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #280307

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

Preview Lab → · Contrast checker → · Palette generator →

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