#7F1816#7F1816

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

Color values

HEX#7F1816
RGBrgb(127, 24, 22)
HSLhsl(1, 70%, 29%)
HSVhsv(1, 83%, 50%)
CMYKcmyk(0%, 81.1%, 82.7%, 50.2%)
CIE-LABlab(27.37, 42.86, 29.27)
CIE-LCHlch(27.37, 51.90, 34.33°)
OKLaboklab(39.04% 0.1229 0.0633)
OKLCHoklch(39.04% 0.138 27.3)
XYZxyz(9.2250, 5.2247, 1.2816)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1816 #167D7F
analogous
#7F1649 #7F1816 #7F4D16
triadic
#7F1816 #167F18 #18167F
tetradic
#7F1816 #497F16 #167D7F #4D167F
square
#7F1816 #497F16 #167D7F #4D167F
split-complementary
#7F1816 #167F4D #16497F
monochromatic
#1A0505 #4B0E0D #7F1816 #B3221F #DC3734

Accessibility & contrast

On white

10.27
#7F1816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1816
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1816#FFFFFF#000000##FFFFFF
##7F18161.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393214
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1816;
/* rgb */ color: rgb(127, 24, 22);
/* oklch */ color: oklch(39.0% 0.138 27.3);
Tailwind
colors: {
  custom: {
    50: '#ac5f54',
    500: '#7f1816',
    950: '#000000',
  },
}
SCSS
$custom: #7f1816;
$custom-light: #ac5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1816",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 22
  },
  "hsl": {
    "h": 1.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.1382,
    "h": 27.3
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#7F1816
secondary
#3DB2B4
accent
#EAED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1816

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

Preview Lab → · Contrast checker → · Palette generator →

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