#28040E#28040E

#28040E is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.7% C 0.062 H 7.4°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#28040E
RGBrgb(40, 4, 14)
HSLhsl(343, 82%, 9%)
HSVhsv(343, 90%, 16%)
CMYKcmyk(0%, 90%, 65%, 84.3%)
CIE-LABlab(5.15, 18.33, 2.11)
CIE-LCHlch(5.15, 18.45, 6.57°)
OKLaboklab(18.66% 0.0615 0.008)
OKLCHoklch(18.66% 0.062 7.4)
XYZxyz(0.9978, 0.5698, 0.4728)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28040E #04281E
analogous
#280420 #28040E #280C04
triadic
#28040E #0E2804 #040E28
tetradic
#28040E #202804 #04281E #0C0428
square
#28040E #202804 #04281E #0C0428
split-complementary
#28040E #04280C #042028
monochromatic
#1C030A #1C030A #28040E #600A21 #970F35

Accessibility & contrast

On white

18.85
#28040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#28040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28040E
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28040E#FFFFFF#000000##FFFFFF
##28040E1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0E
Deuteranopia (green-blind)
#16140D
Tritanopia (blue-blind)
#2D0007
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #28040e;
/* rgb */ color: rgb(40, 4, 14);
/* oklch */ color: oklch(18.7% 0.062 7.4);
Tailwind
colors: {
  custom: {
    50: '#64484d',
    500: '#28040e',
    950: '#000000',
  },
}
SCSS
$custom: #28040e;
$custom-light: #64484d;
$custom-dark: #000000;
JSON
{
  "hex": "#28040e",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 343.333,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.18661,
    "c": 0.06201,
    "h": 7.4
  },
  "luminance": 0.0057
}

Semantic roles & 50–950 ramp

primary
#28040E
secondary
#1D6B55
accent
#F8C030
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #28040E

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

Preview Lab → · Contrast checker → · Palette generator →

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