#28041E#28041E

#28041E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.4% C 0.071 H 341.0°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#28041E
RGBrgb(40, 4, 30)
HSLhsl(317, 82%, 9%)
HSVhsv(317, 90%, 16%)
CMYKcmyk(0%, 90%, 25%, 84.3%)
CIE-LABlab(5.71, 21.32, -8.16)
CIE-LCHlch(5.71, 22.83, 339.05°)
OKLaboklab(19.43% 0.0672 -0.0232)
OKLCHoklch(19.43% 0.071 341)
XYZxyz(1.1529, 0.6318, 1.2893)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28041E #04280E
analogous
#200428 #28041E #28040C
triadic
#28041E #1E2804 #041E28
tetradic
#28041E #282004 #04280E #040C28
square
#28041E #282004 #04280E #040C28
split-complementary
#28041E #0C2804 #042820
monochromatic
#1C0315 #1C0315 #28041E #600A48 #970F71

Accessibility & contrast

On white

18.64
#28041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#28041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28041E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28041E#FFFFFF#000000##FFFFFF
##28041E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F1F
Deuteranopia (green-blind)
#12151D
Tritanopia (blue-blind)
#2B050F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #28041e;
/* rgb */ color: rgb(40, 4, 30);
/* oklch */ color: oklch(19.4% 0.071 341.0);
Tailwind
colors: {
  custom: {
    50: '#634859',
    500: '#28041e',
    950: '#000000',
  },
}
SCSS
$custom: #28041e;
$custom-light: #634859;
$custom-dark: #000000;
JSON
{
  "hex": "#28041e",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 316.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19429,
    "c": 0.07108,
    "h": 341
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#28041E
secondary
#1D6B33
accent
#F86730
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28041E

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

Preview Lab → · Contrast checker → · Palette generator →

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