#28071A#28071A

#28071A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.7% C 0.061 H 348.4°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#28071A
RGBrgb(40, 7, 26)
HSLhsl(325, 70%, 9%)
HSVhsv(325, 83%, 16%)
CMYKcmyk(0%, 82.5%, 35%, 84.3%)
CIE-LABlab(6.12, 19.02, -4.40)
CIE-LCHlch(6.12, 19.52, 346.97°)
OKLaboklab(19.73% 0.0599 -0.0123)
OKLCHoklch(19.73% 0.061 348.4)
XYZxyz(1.1376, 0.6778, 1.0480)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28071A #072815
analogous
#260728 #28071A #28070A
triadic
#28071A #1A2807 #071A28
tetradic
#28071A #282607 #072815 #070A28
square
#28071A #282607 #072815 #070A28
split-complementary
#28071A #0A2807 #072826
monochromatic
#1A0511 #1A0511 #28071A #5C103C #90195E

Accessibility & contrast

On white

18.49
#28071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#28071A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28071A
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28071A#FFFFFF#000000##FFFFFF
##28071A1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B101B
Deuteranopia (green-blind)
#151619
Tritanopia (blue-blind)
#2B060F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #28071a;
/* rgb */ color: rgb(40, 7, 26);
/* oklch */ color: oklch(19.7% 0.061 348.4);
Tailwind
colors: {
  custom: {
    50: '#634956',
    500: '#28071a',
    950: '#000000',
  },
}
SCSS
$custom: #28071a;
$custom-light: #634956;
$custom-dark: #000000;
JSON
{
  "hex": "#28071a",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 325.455,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19731,
    "c": 0.06119,
    "h": 348.4
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#28071A
secondary
#236840
accent
#ED863B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050103
muted
#7A7778

Preview Lab

Preview with #28071A

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

Preview Lab → · Contrast checker → · Palette generator →

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