#7F1814#7F1814

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

Color values

HEX#7F1814
RGBrgb(127, 24, 20)
HSLhsl(2, 73%, 29%)
HSVhsv(2, 84%, 50%)
CMYKcmyk(0%, 81.1%, 84.3%, 50.2%)
CIE-LABlab(27.35, 42.79, 30.42)
CIE-LCHlch(27.35, 52.51, 35.41°)
OKLaboklab(39.02% 0.1222 0.0651)
OKLCHoklch(39.02% 0.138 28)
XYZxyz(9.2064, 5.2173, 1.1840)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1814 #147B7F
analogous
#7F1446 #7F1814 #7F4E14
triadic
#7F1814 #147F18 #18147F
tetradic
#7F1814 #467F14 #147B7F #4E147F
square
#7F1814 #467F14 #147B7F #4E147F
split-complementary
#7F1814 #147F4E #14467F
monochromatic
#1A0504 #4A0E0C #7F1814 #B4221C #DE362F

Accessibility & contrast

On white

10.28
#7F1814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1814
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1814#FFFFFF#000000##FFFFFF
##7F18141.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393212
Deuteranopia (green-blind)
#52490F
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1814;
/* rgb */ color: rgb(127, 24, 20);
/* oklch */ color: oklch(39.0% 0.138 28.0);
Tailwind
colors: {
  custom: {
    50: '#ad5f52',
    500: '#7f1814',
    950: '#000000',
  },
}
SCSS
$custom: #7f1814;
$custom-light: #ad5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1814",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 20
  },
  "hsl": {
    "h": 2.243,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39017,
    "c": 0.13847,
    "h": 28
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#7F1814
secondary
#3BB0B4
accent
#E9EF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1814

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

Preview Lab → · Contrast checker → · Palette generator →

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