#28161E#28161E

#28161E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.032 H 351.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#28161E
RGBrgb(40, 22, 30)
HSLhsl(333, 29%, 12%)
HSVhsv(333, 45%, 16%)
CMYKcmyk(0%, 45%, 25%, 84.3%)
CIE-LABlab(9.94, 10.63, -1.79)
CIE-LCHlch(9.94, 10.78, 350.44°)
OKLaboklab(22.78% 0.0317 -0.0046)
OKLCHoklch(22.78% 0.032 351.7)
XYZxyz(1.3963, 1.1188, 1.3704)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28161E #162820
analogous
#281627 #28161E #281716
triadic
#28161E #1E2816 #161E28
tetradic
#28161E #272816 #162820 #171628
square
#28161E #272816 #162820 #171628
split-complementary
#28161E #162817 #162728
monochromatic
#140B0F #140B0F #28161E #4F2C3C #774159

Accessibility & contrast

On white

17.16
#28161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28161E
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28161E#FFFFFF#000000##FFFFFF
##28161E1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181A1E
Deuteranopia (green-blind)
#1C1D1E
Tritanopia (blue-blind)
#2B1519
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #28161e;
/* rgb */ color: rgb(40, 22, 30);
/* oklch */ color: oklch(22.8% 0.032 351.7);
Tailwind
colors: {
  custom: {
    50: '#625359',
    500: '#28161e',
    950: '#000000',
  },
}
SCSS
$custom: #28161e;
$custom-light: #625359;
$custom-dark: #000000;
JSON
{
  "hex": "#28161e",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 333.333,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2278,
    "c": 0.03207,
    "h": 351.7
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#28161E
secondary
#3D5D4F
accent
#C59962
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28161E

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

Preview Lab → · Contrast checker → · Palette generator →

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