#262121#262121

#262121 is a dark, near-neutral grey. Relative luminance 0.016; OKLCH L 25.3% C 0.008 H 17.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#262121
RGBrgb(38, 33, 33)
HSLhsl(0, 7%, 14%)
HSVhsv(0, 13%, 15%)
CMYKcmyk(0%, 13.2%, 13.2%, 85.1%)
CIE-LABlab(13.29, 2.37, 0.87)
CIE-LCHlch(13.29, 2.52, 20.05°)
OKLaboklab(25.34% 0.0073 0.0023)
OKLCHoklch(25.34% 0.008 17.7)
XYZxyz(1.6177, 1.6096, 1.6640)
Luminance0.0161 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262121 #212626
analogous
#262124 #262121 #262421
triadic
#262121 #212621 #212126
tetradic
#262121 #242621 #212626 #242126
square
#262121 #242621 #212626 #242126
split-complementary
#262121 #212624 #212426
monochromatic
#100E0E #100E0E #262121 #473D3D #685A5A

Accessibility & contrast

On white

15.89
#262121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262121
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262121#FFFFFF#000000##FFFFFF
##2621211.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222221
Deuteranopia (green-blind)
#232221
Tritanopia (blue-blind)
#272121
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #262121;
/* rgb */ color: rgb(38, 33, 33);
/* oklch */ color: oklch(25.3% 0.008 17.7);
Tailwind
colors: {
  custom: {
    50: '#605c5c',
    500: '#262121',
    950: '#000000',
  },
}
SCSS
$custom: #262121;
$custom-light: #605c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#262121",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 7.042,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25339,
    "c": 0.00763,
    "h": 17.7
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#262121
secondary
#4D5555
accent
#B0B078
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040404
muted
#797979

Preview Lab

Preview with #262121

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

Preview Lab → · Contrast checker → · Palette generator →

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