#7F1714#7F1714

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

Color values

HEX#7F1714
RGBrgb(127, 23, 20)
HSLhsl(2, 73%, 29%)
HSVhsv(2, 84%, 50%)
CMYKcmyk(0%, 81.9%, 84.3%, 50.2%)
CIE-LABlab(27.23, 43.11, 30.31)
CIE-LCHlch(27.23, 52.70, 35.11°)
OKLaboklab(38.93% 0.1232 0.0648)
OKLCHoklch(38.93% 0.139 27.8)
XYZxyz(9.1862, 5.1768, 1.1772)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1714 #147C7F
analogous
#7F1447 #7F1714 #7F4D14
triadic
#7F1714 #147F17 #17147F
tetradic
#7F1714 #477F14 #147C7F #4D147F
square
#7F1714 #477F14 #147C7F #4D147F
split-complementary
#7F1714 #147F4D #14477F
monochromatic
#1A0504 #4A0D0C #7F1714 #B4211C #DE342F

Accessibility & contrast

On white

10.32
#7F1714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1714
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1714#FFFFFF#000000##FFFFFF
##7F17141.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383212
Deuteranopia (green-blind)
#52480F
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1714;
/* rgb */ color: rgb(127, 23, 20);
/* oklch */ color: oklch(38.9% 0.139 27.8);
Tailwind
colors: {
  custom: {
    50: '#ad5f52',
    500: '#7f1714',
    950: '#000000',
  },
}
SCSS
$custom: #7f1714;
$custom-light: #ad5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1714",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 20
  },
  "hsl": {
    "h": 1.682,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38933,
    "c": 0.13923,
    "h": 27.8
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#7F1714
secondary
#3BB1B4
accent
#EAEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1714

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

Preview Lab → · Contrast checker → · Palette generator →

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