#7F1711#7F1711

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

Color values

HEX#7F1711
RGBrgb(127, 23, 17)
HSLhsl(3, 76%, 28%)
HSVhsv(3, 87%, 50%)
CMYKcmyk(0%, 81.9%, 86.6%, 50.2%)
CIE-LABlab(27.20, 43.02, 31.99)
CIE-LCHlch(27.20, 53.61, 36.63°)
OKLaboklab(38.9% 0.1223 0.0673)
OKLCHoklch(38.9% 0.14 28.8)
XYZxyz(9.1611, 5.1668, 1.0451)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1711 #11797F
analogous
#7F1142 #7F1711 #7F4E11
triadic
#7F1711 #117F17 #17117F
tetradic
#7F1711 #427F11 #11797F #4E117F
square
#7F1711 #427F11 #11797F #4E117F
split-complementary
#7F1711 #117F4E #11427F
monochromatic
#1B0504 #490D0A #7F1711 #B52118 #E23228

Accessibility & contrast

On white

10.33
#7F1711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1711
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1711#FFFFFF#000000##FFFFFF
##7F17111.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38320F
Deuteranopia (green-blind)
#52480B
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1711;
/* rgb */ color: rgb(127, 23, 17);
/* oklch */ color: oklch(38.9% 0.140 28.8);
Tailwind
colors: {
  custom: {
    50: '#ad5f50',
    500: '#7f1711',
    950: '#000000',
  },
}
SCSS
$custom: #7f1711;
$custom-light: #ad5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1711",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 17
  },
  "hsl": {
    "h": 3.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38904,
    "c": 0.13961,
    "h": 28.8
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#7F1711
secondary
#37AEB5
accent
#E9F335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1711

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

Preview Lab → · Contrast checker → · Palette generator →

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