#28041A#28041A

#28041A is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.068 H 347.0°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#28041A
RGBrgb(40, 4, 26)
HSLhsl(323, 82%, 9%)
HSVhsv(323, 90%, 16%)
CMYKcmyk(0%, 90%, 35%, 84.3%)
CIE-LABlab(5.53, 20.45, -5.27)
CIE-LCHlch(5.53, 21.12, 345.56°)
OKLaboklab(19.2% 0.0662 -0.0153)
OKLCHoklch(19.2% 0.068 347)
XYZxyz(1.1050, 0.6127, 1.0371)
Luminance0.0061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28041A #042812
analogous
#240428 #28041A #280408
triadic
#28041A #1A2804 #041A28
tetradic
#28041A #282404 #042812 #040828
square
#28041A #282404 #042812 #040828
split-complementary
#28041A #082804 #042824
monochromatic
#1C0312 #1C0312 #28041A #600A3E #970F62

Accessibility & contrast

On white

18.71
#28041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#28041A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28041A
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28041A#FFFFFF#000000##FFFFFF
##28041A1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080E1B
Deuteranopia (green-blind)
#131519
Tritanopia (blue-blind)
#2C030D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28041a;
/* rgb */ color: rgb(40, 4, 26);
/* oklch */ color: oklch(19.2% 0.068 347.0);
Tailwind
colors: {
  custom: {
    50: '#634856',
    500: '#28041a',
    950: '#000000',
  },
}
SCSS
$custom: #28041a;
$custom-light: #634856;
$custom-dark: #000000;
JSON
{
  "hex": "#28041a",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 323.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19199,
    "c": 0.06799,
    "h": 347
  },
  "luminance": 0.00613
}

Semantic roles & 50–950 ramp

primary
#28041A
secondary
#1D6B3B
accent
#F87E30
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28041A

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

Preview Lab → · Contrast checker → · Palette generator →

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