#28161C#28161C

#28161C is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.7% C 0.031 H 358.3°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#28161C
RGBrgb(40, 22, 28)
HSLhsl(340, 29%, 12%)
HSVhsv(340, 45%, 16%)
CMYKcmyk(0%, 45%, 30%, 84.3%)
CIE-LABlab(9.87, 10.23, -0.40)
CIE-LCHlch(9.87, 10.24, 357.76°)
OKLaboklab(22.7% 0.0308 -0.0009)
OKLCHoklch(22.7% 0.031 358.3)
XYZxyz(1.3716, 1.1089, 1.2402)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28161C #162822
analogous
#281625 #28161C #281916
triadic
#28161C #1C2816 #161C28
tetradic
#28161C #252816 #162822 #191628
square
#28161C #252816 #162822 #191628
split-complementary
#28161C #162819 #162528
monochromatic
#140B0E #140B0E #28161C #4F2C38 #774153

Accessibility & contrast

On white

17.19
#28161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#28161C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28161C
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28161C#FFFFFF#000000##FFFFFF
##28161C1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191C
Deuteranopia (green-blind)
#1D1C1C
Tritanopia (blue-blind)
#2B1518
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28161c;
/* rgb */ color: rgb(40, 22, 28);
/* oklch */ color: oklch(22.7% 0.031 358.3);
Tailwind
colors: {
  custom: {
    50: '#625357',
    500: '#28161c',
    950: '#000000',
  },
}
SCSS
$custom: #28161c;
$custom-light: #625357;
$custom-dark: #000000;
JSON
{
  "hex": "#28161c",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 340,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.03081,
    "h": 358.3
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#28161C
secondary
#3D5D52
accent
#C5A462
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28161C

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

Preview Lab → · Contrast checker → · Palette generator →

#28161C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva