#7F1B11#7F1B11

#7F1B11 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 30.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7F1B11
RGBrgb(127, 27, 17)
HSLhsl(5, 76%, 28%)
HSVhsv(5, 87%, 50%)
CMYKcmyk(0%, 78.7%, 86.6%, 50.2%)
CIE-LABlab(27.68, 41.70, 32.42)
CIE-LCHlch(27.68, 52.82, 37.86°)
OKLaboklab(39.26% 0.1182 0.0683)
OKLCHoklch(39.26% 0.136 30)
XYZxyz(9.2466, 5.3378, 1.0736)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B11 #11757F
analogous
#7F113E #7F1B11 #7F5211
triadic
#7F1B11 #117F1B #1B117F
tetradic
#7F1B11 #3E7F11 #11757F #52117F
square
#7F1B11 #3E7F11 #11757F #52117F
split-complementary
#7F1B11 #117F52 #113E7F
monochromatic
#1B0604 #49100A #7F1B11 #B52618 #E23928

Accessibility & contrast

On white

10.16
#7F1B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B11
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B11#FFFFFF#000000##FFFFFF
##7F1B111.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330E
Deuteranopia (green-blind)
#53490B
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1b11;
/* rgb */ color: rgb(127, 27, 17);
/* oklch */ color: oklch(39.3% 0.136 30.0);
Tailwind
colors: {
  custom: {
    50: '#ad6150',
    500: '#7f1b11',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b11;
$custom-light: #ad6150;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b11",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 17
  },
  "hsl": {
    "h": 5.455,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39255,
    "c": 0.13649,
    "h": 30
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#7F1B11
secondary
#37A9B5
accent
#E2F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1B11

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

Preview Lab → · Contrast checker → · Palette generator →

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