#7F1F11#7F1F11

#7F1F11 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.133 H 31.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7F1F11
RGBrgb(127, 31, 17)
HSLhsl(8, 76%, 28%)
HSVhsv(8, 87%, 50%)
CMYKcmyk(0%, 75.6%, 86.6%, 50.2%)
CIE-LABlab(28.20, 40.23, 32.90)
CIE-LCHlch(28.20, 51.97, 39.27°)
OKLaboklab(39.65% 0.1136 0.0694)
OKLCHoklch(39.65% 0.133 31.4)
XYZxyz(9.3447, 5.5339, 1.1063)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F11 #11717F
analogous
#7F113A #7F1F11 #7F5611
triadic
#7F1F11 #117F1F #1F117F
tetradic
#7F1F11 #3A7F11 #11717F #56117F
square
#7F1F11 #3A7F11 #11717F #56117F
split-complementary
#7F1F11 #117F56 #113A7F
monochromatic
#1B0704 #49120A #7F1F11 #B52C18 #E24028

Accessibility & contrast

On white

9.97
#7F1F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F11
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F11#FFFFFF#000000##FFFFFF
##7F1F111.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350E
Deuteranopia (green-blind)
#544A0C
Tritanopia (blue-blind)
#8D001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1f11;
/* rgb */ color: rgb(127, 31, 17);
/* oklch */ color: oklch(39.6% 0.133 31.4);
Tailwind
colors: {
  custom: {
    50: '#ac6251',
    500: '#7f1f11',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f11;
$custom-light: #ac6251;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f11",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 17
  },
  "hsl": {
    "h": 7.636,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39649,
    "c": 0.13312,
    "h": 31.4
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#7F1F11
secondary
#37A5B5
accent
#DBF335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1F11

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

Preview Lab → · Contrast checker → · Palette generator →

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