#28120C#28120C

#28120C is a very dark, muted red. Relative luminance 0.009; OKLCH L 21.3% C 0.039 H 36.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#28120C
RGBrgb(40, 18, 12)
HSLhsl(13, 54%, 10%)
HSVhsv(13, 70%, 16%)
CMYKcmyk(0%, 55%, 70%, 84.3%)
CIE-LABlab(8.22, 10.64, 7.56)
CIE-LCHlch(8.22, 13.05, 35.39°)
OKLaboklab(21.28% 0.0312 0.0228)
OKLCHoklch(21.28% 0.039 36.1)
XYZxyz(1.1578, 0.9104, 0.4625)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28120C #0C2228
analogous
#280C14 #28120C #28200C
triadic
#28120C #0C2812 #120C28
tetradic
#28120C #14280C #0C2228 #200C28
square
#28120C #14280C #0C2228 #200C28
split-complementary
#28120C #0C2820 #0C1428
monochromatic
#180B07 #180B07 #28120C #57271A #863C28

Accessibility & contrast

On white

17.77
#28120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#28120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28120C
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28120C#FFFFFF#000000##FFFFFF
##28120C1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150B
Deuteranopia (green-blind)
#1D1A0C
Tritanopia (blue-blind)
#2C0E11
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28120c;
/* rgb */ color: rgb(40, 18, 12);
/* oklch */ color: oklch(21.3% 0.039 36.1);
Tailwind
colors: {
  custom: {
    50: '#63504c',
    500: '#28120c',
    950: '#000000',
  },
}
SCSS
$custom: #28120c;
$custom-light: #63504c;
$custom-dark: #000000;
JSON
{
  "hex": "#28120c",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 12.857,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21282,
    "c": 0.0386,
    "h": 36.1
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#28120C
secondary
#2D5763
accent
#BEDD4B
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#050201
muted
#7A7877

Preview Lab

Preview with #28120C

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

Preview Lab → · Contrast checker → · Palette generator →

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