#28070B#28070B

#28070B is a very dark, muted red. Relative luminance 0.006; OKLCH L 19.1% C 0.056 H 16.6°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#28070B
RGBrgb(40, 7, 11)
HSLhsl(353, 70%, 9%)
HSVhsv(353, 83%, 16%)
CMYKcmyk(0%, 82.5%, 72.5%, 84.3%)
CIE-LABlab(5.67, 16.59, 4.27)
CIE-LCHlch(5.67, 17.13, 14.45°)
OKLaboklab(19.13% 0.0532 0.0159)
OKLCHoklch(19.13% 0.056 16.6)
XYZxyz(1.0115, 0.6274, 0.3844)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28070B #072824
analogous
#28071C #28070B #281407
triadic
#28070B #0B2807 #070B28
tetradic
#28070B #1C2807 #072824 #140728
square
#28070B #1C2807 #072824 #140728
split-complementary
#28070B #072814 #071C28
monochromatic
#1A0507 #1A0507 #28070B #5C1019 #901928

Accessibility & contrast

On white

18.66
#28070B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#28070B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28070B
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28070B#FFFFFF#000000##FFFFFF
##28070B1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0B
Deuteranopia (green-blind)
#18150A
Tritanopia (blue-blind)
#2D0309
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28070b;
/* rgb */ color: rgb(40, 7, 11);
/* oklch */ color: oklch(19.1% 0.056 16.6);
Tailwind
colors: {
  custom: {
    50: '#64494c',
    500: '#28070b',
    950: '#000000',
  },
}
SCSS
$custom: #28070b;
$custom-light: #64494c;
$custom-dark: #000000;
JSON
{
  "hex": "#28070b",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 11
  },
  "hsl": {
    "h": 352.727,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19134,
    "c": 0.05554,
    "h": 16.6
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#28070B
secondary
#23685F
accent
#EDD73B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060101
muted
#7A7777

Preview Lab

Preview with #28070B

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

Preview Lab → · Contrast checker → · Palette generator →

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