#28131A#28131A

#28131A is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.0% C 0.036 H 359.1°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#28131A
RGBrgb(40, 19, 26)
HSLhsl(340, 36%, 12%)
HSVhsv(340, 53%, 16%)
CMYKcmyk(0%, 52.5%, 35%, 84.3%)
CIE-LABlab(8.92, 11.99, -0.27)
CIE-LCHlch(8.92, 11.99, 358.69°)
OKLaboklab(21.95% 0.0362 -0.0005)
OKLCHoklch(21.95% 0.036 359.1)
XYZxyz(1.2944, 0.9915, 1.1003)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28131A #132821
analogous
#281325 #28131A #281713
triadic
#28131A #1A2813 #131A28
tetradic
#28131A #252813 #132821 #171328
square
#28131A #252813 #132821 #171328
split-complementary
#28131A #132817 #132528
monochromatic
#150A0D #150A0D #28131A #512735 #7B3A50

Accessibility & contrast

On white

17.53
#28131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#28131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28131A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28131A#FFFFFF#000000##FFFFFF
##28131A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#1B1B1A
Tritanopia (blue-blind)
#2B1215
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28131a;
/* rgb */ color: rgb(40, 19, 26);
/* oklch */ color: oklch(22.0% 0.036 359.1);
Tailwind
colors: {
  custom: {
    50: '#635156',
    500: '#28131a',
    950: '#000000',
  },
}
SCSS
$custom: #28131a;
$custom-light: #635156;
$custom-dark: #000000;
JSON
{
  "hex": "#28131a",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 340,
    "s": 35.593,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21951,
    "c": 0.03622,
    "h": 359.1
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#28131A
secondary
#395E52
accent
#CCA65C
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28131A

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

Preview Lab → · Contrast checker → · Palette generator →

#28131A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva