#282226#282226

#282226 is a dark, near-neutral pink. Relative luminance 0.017; OKLCH L 26.0% C 0.012 H 338.1°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#282226
RGBrgb(40, 34, 38)
HSLhsl(320, 8%, 15%)
HSVhsv(320, 15%, 16%)
CMYKcmyk(0%, 15%, 5%, 84.3%)
CIE-LABlab(14.03, 3.76, -1.63)
CIE-LCHlch(14.03, 4.09, 336.51°)
OKLaboklab(26.03% 0.0107 -0.0043)
OKLCHoklch(26.03% 0.012 338.1)
XYZxyz(1.7969, 1.7351, 2.0736)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282226 #222824
analogous
#272228 #282226 #282223
triadic
#282226 #262822 #222628
tetradic
#282226 #282722 #222824 #222328
square
#282226 #282722 #222824 #222328
split-complementary
#282226 #232822 #222827
monochromatic
#110E10 #110E10 #282226 #493E45 #6A5A65

Accessibility & contrast

On white

15.59
#282226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#282226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282226
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282226#FFFFFF#000000##FFFFFF
##2822261.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#232426
Tritanopia (blue-blind)
#292223
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #282226;
/* rgb */ color: rgb(40, 34, 38);
/* oklch */ color: oklch(26.0% 0.012 338.1);
Tailwind
colors: {
  custom: {
    50: '#615c60',
    500: '#282226',
    950: '#000000',
  },
}
SCSS
$custom: #282226;
$custom-light: #615c60;
$custom-dark: #000000;
JSON
{
  "hex": "#282226",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 320,
    "s": 8.108,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26032,
    "c": 0.01154,
    "h": 338.1
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#282226
secondary
#4E5851
accent
#B18A77
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #282226

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

Preview Lab → · Contrast checker → · Palette generator →

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