#28041B#28041B

#28041B is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.3% C 0.069 H 345.4°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#28041B
RGBrgb(40, 4, 27)
HSLhsl(322, 82%, 9%)
HSVhsv(322, 90%, 16%)
CMYKcmyk(0%, 90%, 32.5%, 84.3%)
CIE-LABlab(5.58, 20.66, -6.00)
CIE-LCHlch(5.58, 21.51, 343.81°)
OKLaboklab(19.25% 0.0665 -0.0173)
OKLCHoklch(19.25% 0.069 345.4)
XYZxyz(1.1164, 0.6172, 1.0970)
Luminance0.0062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28041B #042811
analogous
#230428 #28041B #280409
triadic
#28041B #1B2804 #041B28
tetradic
#28041B #282304 #042811 #040928
square
#28041B #282304 #042811 #040928
split-complementary
#28041B #092804 #042823
monochromatic
#1C0313 #1C0313 #28041B #600A41 #970F66

Accessibility & contrast

On white

18.69
#28041B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28041B
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28041B#FFFFFF#000000##FFFFFF
##28041B1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1C
Deuteranopia (green-blind)
#13151A
Tritanopia (blue-blind)
#2B040E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28041b;
/* rgb */ color: rgb(40, 4, 27);
/* oklch */ color: oklch(19.3% 0.069 345.4);
Tailwind
colors: {
  custom: {
    50: '#634857',
    500: '#28041b',
    950: '#000000',
  },
}
SCSS
$custom: #28041b;
$custom-light: #634857;
$custom-dark: #000000;
JSON
{
  "hex": "#28041b",
  "rgb": {
    "r": 40,
    "g": 4,
    "b": 27
  },
  "hsl": {
    "h": 321.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19254,
    "c": 0.06872,
    "h": 345.4
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#28041B
secondary
#1D6B39
accent
#F87830
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050003
muted
#7A7778

Preview Lab

Preview with #28041B

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

Preview Lab → · Contrast checker → · Palette generator →

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