#28070C#28070C

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

Color values

HEX#28070C
RGBrgb(40, 7, 12)
HSLhsl(351, 70%, 9%)
HSVhsv(351, 83%, 16%)
CMYKcmyk(0%, 82.5%, 70%, 84.3%)
CIE-LABlab(5.69, 16.71, 3.86)
CIE-LCHlch(5.69, 17.15, 13.02°)
OKLaboklab(19.16% 0.0537 0.0142)
OKLCHoklch(19.16% 0.056 14.8)
XYZxyz(1.0175, 0.6298, 0.4157)
Luminance0.0063 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28070C #072823
analogous
#28071D #28070C #281307
triadic
#28070C #0C2807 #070C28
tetradic
#28070C #1D2807 #072823 #130728
square
#28070C #1D2807 #072823 #130728
split-complementary
#28070C #072813 #071D28
monochromatic
#1A0508 #1A0508 #28070C #5C101C #90192B

Accessibility & contrast

On white

18.65
#28070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28070C
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28070C#FFFFFF#000000##FFFFFF
##28070C1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0E0C
Deuteranopia (green-blind)
#17150B
Tritanopia (blue-blind)
#2D0309
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #28070c;
/* rgb */ color: rgb(40, 7, 12);
/* oklch */ color: oklch(19.2% 0.056 14.8);
Tailwind
colors: {
  custom: {
    50: '#64494c',
    500: '#28070c',
    950: '#000000',
  },
}
SCSS
$custom: #28070c;
$custom-light: #64494c;
$custom-dark: #000000;
JSON
{
  "hex": "#28070c",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 350.909,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19163,
    "c": 0.05557,
    "h": 14.8
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#28070C
secondary
#23685D
accent
#EDD23B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050101
muted
#7A7777

Preview Lab

Preview with #28070C

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

Preview Lab → · Contrast checker → · Palette generator →

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