#7F1812#7F1812

#7F1812 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 28.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7F1812
RGBrgb(127, 24, 18)
HSLhsl(3, 75%, 28%)
HSVhsv(3, 86%, 50%)
CMYKcmyk(0%, 81.1%, 85.8%, 50.2%)
CIE-LABlab(27.33, 42.73, 31.54)
CIE-LCHlch(27.33, 53.11, 36.43°)
OKLaboklab(39% 0.1216 0.0667)
OKLCHoklch(39% 0.139 28.8)
XYZxyz(9.1893, 5.2105, 1.0940)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1812 #12797F
analogous
#7F1242 #7F1812 #7F4E12
triadic
#7F1812 #127F18 #18127F
tetradic
#7F1812 #427F12 #12797F #4E127F
square
#7F1812 #427F12 #12797F #4E127F
split-complementary
#7F1812 #127F4E #12427F
monochromatic
#1B0504 #490E0A #7F1812 #B5221A #E1352B

Accessibility & contrast

On white

10.29
#7F1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1812
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1812#FFFFFF#000000##FFFFFF
##7F18121.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#52490C
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1812;
/* rgb */ color: rgb(127, 24, 18);
/* oklch */ color: oklch(39.0% 0.139 28.8);
Tailwind
colors: {
  custom: {
    50: '#ad5f51',
    500: '#7f1812',
    950: '#000000',
  },
}
SCSS
$custom: #7f1812;
$custom-light: #ad5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1812",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 3.303,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.13873,
    "h": 28.8
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#7F1812
secondary
#38AEB5
accent
#E7F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1812

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

Preview Lab → · Contrast checker → · Palette generator →

#7F1812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva