#28181E#28181E

#28181E is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.2% C 0.028 H 355.3°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#28181E
RGBrgb(40, 24, 30)
HSLhsl(338, 25%, 13%)
HSVhsv(338, 40%, 16%)
CMYKcmyk(0%, 40%, 25%, 84.3%)
CIE-LABlab(10.54, 9.20, -0.91)
CIE-LCHlch(10.54, 9.24, 354.37°)
OKLaboklab(23.24% 0.0275 -0.0023)
OKLCHoklch(23.24% 0.028 355.3)
XYZxyz(1.4361, 1.1982, 1.3837)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28181E #182822
analogous
#281826 #28181E #281A18
triadic
#28181E #1E2818 #181E28
tetradic
#28181E #262818 #182822 #1A1828
square
#28181E #262818 #182822 #1A1828
split-complementary
#28181E #18281A #182628
monochromatic
#130B0E #130B0E #28181E #4E2F3B #744657

Accessibility & contrast

On white

16.94
#28181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#28181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28181E
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28181E#FFFFFF#000000##FFFFFF
##28181E1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1E
Deuteranopia (green-blind)
#1E1E1E
Tritanopia (blue-blind)
#2A171A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #28181e;
/* rgb */ color: rgb(40, 24, 30);
/* oklch */ color: oklch(23.2% 0.028 355.3);
Tailwind
colors: {
  custom: {
    50: '#625559',
    500: '#28181e',
    950: '#000000',
  },
}
SCSS
$custom: #28181e;
$custom-light: #625559;
$custom-dark: #000000;
JSON
{
  "hex": "#28181e",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 337.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23239,
    "c": 0.0276,
    "h": 355.3
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#28181E
secondary
#405C51
accent
#C19F66
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050303
muted
#797878

Preview Lab

Preview with #28181E

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

Preview Lab → · Contrast checker → · Palette generator →

#28181E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva