#281E22#281E22

#281E22 is a very dark, near-neutral pink. Relative luminance 0.015; OKLCH L 24.9% C 0.017 H 352.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#281E22
RGBrgb(40, 30, 34)
HSLhsl(336, 14%, 14%)
HSVhsv(336, 25%, 16%)
CMYKcmyk(0%, 25%, 15%, 84.3%)
CIE-LABlab(12.58, 5.71, -0.87)
CIE-LCHlch(12.58, 5.78, 351.33°)
OKLaboklab(24.85% 0.0169 -0.0022)
OKLCHoklch(24.85% 0.017 352.5)
XYZxyz(1.6281, 1.4952, 1.7159)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281E22 #1E2824
analogous
#281E27 #281E22 #281F1E
triadic
#281E22 #22281E #1E2228
tetradic
#281E22 #27281E #1E2824 #1F1E28
square
#281E22 #27281E #1E2824 #1F1E28
split-complementary
#281E22 #1E281F #1E2728
monochromatic
#110D0F #110D0F #281E22 #4B3840 #6E525D

Accessibility & contrast

On white

16.17
#281E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281E22
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281E22#FFFFFF#000000##FFFFFF
##281E221.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2022
Deuteranopia (green-blind)
#212122
Tritanopia (blue-blind)
#2A1E1F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281e22;
/* rgb */ color: rgb(40, 30, 34);
/* oklch */ color: oklch(24.9% 0.017 352.5);
Tailwind
colors: {
  custom: {
    50: '#62595c',
    500: '#281e22',
    950: '#000000',
  },
}
SCSS
$custom: #281e22;
$custom-light: #62595c;
$custom-dark: #000000;
JSON
{
  "hex": "#281e22",
  "rgb": {
    "r": 40,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 336,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24854,
    "c": 0.01703,
    "h": 352.5
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#281E22
secondary
#495953
accent
#B79B71
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #281E22

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

Preview Lab → · Contrast checker → · Palette generator →

#281E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva