#282020#282020

#282020 is a dark, near-neutral red. Relative luminance 0.016; OKLCH L 25.3% C 0.012 H 18.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#282020
RGBrgb(40, 32, 32)
HSLhsl(0, 11%, 14%)
HSVhsv(0, 20%, 16%)
CMYKcmyk(0%, 20%, 20%, 84.3%)
CIE-LABlab(13.16, 3.84, 1.43)
CIE-LCHlch(13.16, 4.09, 20.50°)
OKLaboklab(25.28% 0.0118 0.0038)
OKLCHoklch(25.28% 0.012 18)
XYZxyz(1.6523, 1.5885, 1.5858)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282020 #202828
analogous
#282024 #282020 #282420
triadic
#282020 #202820 #202028
tetradic
#282020 #242820 #202828 #242028
square
#282020 #242820 #202828 #242028
split-complementary
#282020 #202824 #202428
monochromatic
#110E0E #110E0E #282020 #4A3B3B #6C5656

Accessibility & contrast

On white

15.94
#282020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#282020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282020
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282020#FFFFFF#000000##FFFFFF
##2820201.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212120
Deuteranopia (green-blind)
#232220
Tritanopia (blue-blind)
#2A1F20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #282020;
/* rgb */ color: rgb(40, 32, 32);
/* oklch */ color: oklch(25.3% 0.012 18.0);
Tailwind
colors: {
  custom: {
    50: '#625b5b',
    500: '#282020',
    950: '#000000',
  },
}
SCSS
$custom: #282020;
$custom-light: #625b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#282020",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 11.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25283,
    "c": 0.01236,
    "h": 18
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#282020
secondary
#4C5858
accent
#B4B474
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #282020

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

Preview Lab → · Contrast checker → · Palette generator →

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