#28121A#28121A

#28121A is a very dark, muted pink. Relative luminance 0.010; OKLCH L 21.7% C 0.038 H 357.6°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#28121A
RGBrgb(40, 18, 26)
HSLhsl(338, 38%, 11%)
HSVhsv(338, 55%, 16%)
CMYKcmyk(0%, 55%, 35%, 84.3%)
CIE-LABlab(8.64, 12.69, -0.68)
CIE-LCHlch(8.64, 12.70, 356.91°)
OKLaboklab(21.74% 0.0383 -0.0016)
OKLCHoklch(21.74% 0.038 357.6)
XYZxyz(1.2779, 0.9584, 1.0948)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28121A #122820
analogous
#281225 #28121A #281512
triadic
#28121A #1A2812 #121A28
tetradic
#28121A #252812 #122820 #151228
square
#28121A #252812 #122820 #151228
split-complementary
#28121A #122815 #122528
monochromatic
#15090E #15090E #28121A #522535 #7C3851

Accessibility & contrast

On white

17.62
#28121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#28121A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28121A
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28121A#FFFFFF#000000##FFFFFF
##28121A1.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15161A
Deuteranopia (green-blind)
#1B1A19
Tritanopia (blue-blind)
#2B1115
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28121a;
/* rgb */ color: rgb(40, 18, 26);
/* oklch */ color: oklch(21.7% 0.038 357.6);
Tailwind
colors: {
  custom: {
    50: '#635056',
    500: '#28121a',
    950: '#000000',
  },
}
SCSS
$custom: #28121a;
$custom-light: #635056;
$custom-dark: #000000;
JSON
{
  "hex": "#28121a",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 338.182,
    "s": 37.931,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21738,
    "c": 0.03836,
    "h": 357.6
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#28121A
secondary
#375F50
accent
#CEA45A
background
#F5F4F5
surface
#EAE7E9
border
#C6C3C5
text
#050203
muted
#797878

Preview Lab

Preview with #28121A

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

Preview Lab → · Contrast checker → · Palette generator →

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