#7F2111#7F2111

#7F2111 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.131 H 32.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7F2111
RGBrgb(127, 33, 17)
HSLhsl(9, 76%, 28%)
HSVhsv(9, 87%, 50%)
CMYKcmyk(0%, 74%, 86.6%, 50.2%)
CIE-LABlab(28.49, 39.45, 33.16)
CIE-LCHlch(28.49, 51.53, 40.05°)
OKLaboklab(39.86% 0.1112 0.0699)
OKLCHoklch(39.86% 0.131 32.2)
XYZxyz(9.3986, 5.6417, 1.1243)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2111 #116F7F
analogous
#7F1138 #7F2111 #7F5811
triadic
#7F2111 #117F21 #21117F
tetradic
#7F2111 #387F11 #116F7F #58117F
square
#7F2111 #387F11 #116F7F #58117F
split-complementary
#7F2111 #117F58 #11387F
monochromatic
#1B0704 #49130A #7F2111 #B52F18 #E24328

Accessibility & contrast

On white

9.87
#7F2111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F2111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2111
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2111#FFFFFF#000000##FFFFFF
##7F21111.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360E
Deuteranopia (green-blind)
#554B0C
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2111;
/* rgb */ color: rgb(127, 33, 17);
/* oklch */ color: oklch(39.9% 0.131 32.2);
Tailwind
colors: {
  custom: {
    50: '#ac6351',
    500: '#7f2111',
    950: '#000000',
  },
}
SCSS
$custom: #7f2111;
$custom-light: #ac6351;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2111",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 17
  },
  "hsl": {
    "h": 8.727,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.13134,
    "h": 32.2
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#7F2111
secondary
#37A3B5
accent
#D7F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2111

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

Preview Lab → · Contrast checker → · Palette generator →

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