#28091F#28091F

#28091F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.061 H 340.7°. Best body text is #FFFFFF at 18.28:1 contrast (WCAG AA passes).

Color values

HEX#28091F
RGBrgb(40, 9, 31)
HSLhsl(317, 63%, 10%)
HSVhsv(317, 78%, 16%)
CMYKcmyk(0%, 77.5%, 22.5%, 84.3%)
CIE-LABlab(6.73, 19.08, -7.39)
CIE-LCHlch(6.73, 20.46, 338.84°)
OKLaboklab(20.34% 0.0576 -0.0202)
OKLCHoklch(20.34% 0.061 340.7)
XYZxyz(1.2201, 0.7455, 1.3757)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28091F #092812
analogous
#220928 #28091F #280910
triadic
#28091F #1F2809 #091F28
tetradic
#28091F #282209 #092812 #091028
square
#28091F #282209 #092812 #091028
split-complementary
#28091F #102809 #092822
monochromatic
#190613 #190613 #28091F #5A1446 #8C1F6C

Accessibility & contrast

On white

18.28
#28091F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#28091F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28091F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28091F#FFFFFF#000000##FFFFFF
##28091F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#14171E
Tritanopia (blue-blind)
#2B0A12
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #28091f;
/* rgb */ color: rgb(40, 9, 31);
/* oklch */ color: oklch(20.3% 0.061 340.7);
Tailwind
colors: {
  custom: {
    50: '#634a5a',
    500: '#28091f',
    950: '#000000',
  },
}
SCSS
$custom: #28091f;
$custom-light: #634a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#28091f",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 31
  },
  "hsl": {
    "h": 317.419,
    "s": 63.265,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20335,
    "c": 0.06106,
    "h": 340.7
  },
  "luminance": 0.00745
}

Semantic roles & 50–950 ramp

primary
#28091F
secondary
#276639
accent
#E67141
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050103
muted
#7A7778

Preview Lab

Preview with #28091F

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

Preview Lab → · Contrast checker → · Palette generator →

#28091F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva