#281F22#281F22

#281F22 is a dark, near-neutral pink. Relative luminance 0.015; OKLCH L 25.1% C 0.015 H 356.2°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#281F22
RGBrgb(40, 31, 34)
HSLhsl(340, 13%, 14%)
HSVhsv(340, 23%, 16%)
CMYKcmyk(0%, 22.5%, 15%, 84.3%)
CIE-LABlab(12.90, 4.99, -0.40)
CIE-LCHlch(12.90, 5.01, 355.46°)
OKLaboklab(25.11% 0.0148 -0.001)
OKLCHoklch(25.11% 0.015 356.2)
XYZxyz(1.6538, 1.5466, 1.7245)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281F22 #1F2825
analogous
#281F27 #281F22 #28211F
triadic
#281F22 #22281F #1F2228
tetradic
#281F22 #27281F #1F2825 #211F28
square
#281F22 #27281F #1F2825 #211F28
split-complementary
#281F22 #1F2821 #1F2728
monochromatic
#110D0F #110D0F #281F22 #4A3A3F #6D545D

Accessibility & contrast

On white

16.04
#281F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281F22
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281F22#FFFFFF#000000##FFFFFF
##281F221.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202022
Deuteranopia (green-blind)
#222222
Tritanopia (blue-blind)
#2A1F20
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281f22;
/* rgb */ color: rgb(40, 31, 34);
/* oklch */ color: oklch(25.1% 0.015 356.2);
Tailwind
colors: {
  custom: {
    50: '#625a5c',
    500: '#281f22',
    950: '#000000',
  },
}
SCSS
$custom: #281f22;
$custom-light: #625a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#281f22",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 340,
    "s": 12.676,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25106,
    "c": 0.01485,
    "h": 356.2
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#281F22
secondary
#4A5954
accent
#B69F72
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #281F22

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

Preview Lab → · Contrast checker → · Palette generator →

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