#282121#282121

#282121 is a dark, near-neutral red. Relative luminance 0.016; OKLCH L 25.6% C 0.011 H 17.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#282121
RGBrgb(40, 33, 33)
HSLhsl(0, 10%, 14%)
HSVhsv(0, 18%, 16%)
CMYKcmyk(0%, 17.5%, 17.5%, 84.3%)
CIE-LABlab(13.52, 3.33, 1.24)
CIE-LCHlch(13.52, 3.55, 20.34°)
OKLaboklab(25.58% 0.0102 0.0033)
OKLCHoklch(25.58% 0.011 17.9)
XYZxyz(1.6934, 1.6487, 1.6676)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282121 #212828
analogous
#282125 #282121 #282521
triadic
#282121 #212821 #212128
tetradic
#282121 #252821 #212828 #252128
square
#282121 #252821 #212828 #252128
split-complementary
#282121 #212825 #212528
monochromatic
#110E0E #110E0E #282121 #4A3D3D #6B5858

Accessibility & contrast

On white

15.79
#282121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#282121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282121
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282121#FFFFFF#000000##FFFFFF
##2821211.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222221
Deuteranopia (green-blind)
#242321
Tritanopia (blue-blind)
#2A2021
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #282121;
/* rgb */ color: rgb(40, 33, 33);
/* oklch */ color: oklch(25.6% 0.011 17.9);
Tailwind
colors: {
  custom: {
    50: '#625c5c',
    500: '#282121',
    950: '#000000',
  },
}
SCSS
$custom: #282121;
$custom-light: #625c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#282121",
  "rgb": {
    "r": 40,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 9.589,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25578,
    "c": 0.01074,
    "h": 17.9
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#282121
secondary
#4D5858
accent
#B3B375
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #282121

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

Preview Lab → · Contrast checker → · Palette generator →

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