#7F1911#7F1911

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

Color values

HEX#7F1911
RGBrgb(127, 25, 17)
HSLhsl(4, 76%, 28%)
HSVhsv(4, 87%, 50%)
CMYKcmyk(0%, 80.3%, 86.6%, 50.2%)
CIE-LABlab(27.43, 42.38, 32.19)
CIE-LCHlch(27.43, 53.22, 37.22°)
OKLaboklab(39.07% 0.1203 0.0678)
OKLCHoklch(39.07% 0.138 29.4)
XYZxyz(9.2023, 5.2492, 1.0589)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1911 #11777F
analogous
#7F1140 #7F1911 #7F5011
triadic
#7F1911 #117F19 #19117F
tetradic
#7F1911 #407F11 #11777F #50117F
square
#7F1911 #407F11 #11777F #50117F
split-complementary
#7F1911 #117F50 #11407F
monochromatic
#1B0504 #490E0A #7F1911 #B52418 #E23628

Accessibility & contrast

On white

10.25
#7F1911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1911
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1911#FFFFFF#000000##FFFFFF
##7F19111.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1911;
/* rgb */ color: rgb(127, 25, 17);
/* oklch */ color: oklch(39.1% 0.138 29.4);
Tailwind
colors: {
  custom: {
    50: '#ad6050',
    500: '#7f1911',
    950: '#000000',
  },
}
SCSS
$custom: #7f1911;
$custom-light: #ad6050;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1911",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 17
  },
  "hsl": {
    "h": 4.364,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.13808,
    "h": 29.4
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#7F1911
secondary
#37ACB5
accent
#E5F335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1911

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

Preview Lab → · Contrast checker → · Palette generator →

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