#7F2311#7F2311

#7F2311 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.130 H 33.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F2311
RGBrgb(127, 35, 17)
HSLhsl(10, 76%, 28%)
HSVhsv(10, 87%, 50%)
CMYKcmyk(0%, 72.4%, 86.6%, 50.2%)
CIE-LABlab(28.79, 38.63, 33.43)
CIE-LCHlch(28.79, 51.08, 40.87°)
OKLaboklab(40.09% 0.1086 0.0706)
OKLCHoklch(40.09% 0.13 33)
XYZxyz(9.4557, 5.7560, 1.1433)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2311 #116D7F
analogous
#7F1136 #7F2311 #7F5A11
triadic
#7F2311 #117F23 #23117F
tetradic
#7F2311 #367F11 #116D7F #5A117F
square
#7F2311 #367F11 #116D7F #5A117F
split-complementary
#7F2311 #117F5A #11367F
monochromatic
#1B0704 #49140A #7F2311 #B53218 #E24728

Accessibility & contrast

On white

9.76
#7F2311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2311
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2311#FFFFFF#000000##FFFFFF
##7F23111.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370E
Deuteranopia (green-blind)
#554B0C
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2311;
/* rgb */ color: rgb(127, 35, 17);
/* oklch */ color: oklch(40.1% 0.130 33.0);
Tailwind
colors: {
  custom: {
    50: '#ac6451',
    500: '#7f2311',
    950: '#000000',
  },
}
SCSS
$custom: #7f2311;
$custom-light: #ac6451;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2311",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 17
  },
  "hsl": {
    "h": 9.818,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.12953,
    "h": 33
  },
  "luminance": 0.05755
}

Semantic roles & 50–950 ramp

primary
#7F2311
secondary
#37A0B5
accent
#D4F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2311

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

Preview Lab → · Contrast checker → · Palette generator →

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