#7F2911#7F2911

#7F2911 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.124 H 35.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7F2911
RGBrgb(127, 41, 17)
HSLhsl(13, 76%, 28%)
HSVhsv(13, 87%, 50%)
CMYKcmyk(0%, 67.7%, 86.6%, 50.2%)
CIE-LABlab(29.76, 35.98, 34.30)
CIE-LCHlch(29.76, 49.72, 43.63°)
OKLaboklab(40.82% 0.1005 0.0725)
OKLCHoklch(40.82% 0.124 35.8)
XYZxyz(9.6476, 6.1398, 1.2073)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2911 #11677F
analogous
#7F1130 #7F2911 #7F6011
triadic
#7F2911 #117F29 #29117F
tetradic
#7F2911 #307F11 #11677F #60117F
square
#7F2911 #307F11 #11677F #60117F
split-complementary
#7F2911 #117F60 #11307F
monochromatic
#1B0904 #49180A #7F2911 #B53A18 #E25128

Accessibility & contrast

On white

9.43
#7F2911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F2911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2911
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2911#FFFFFF#000000##FFFFFF
##7F29111.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#574D0D
Tritanopia (blue-blind)
#8C0F24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2911;
/* rgb */ color: rgb(127, 41, 17);
/* oklch */ color: oklch(40.8% 0.124 35.8);
Tailwind
colors: {
  custom: {
    50: '#ac6751',
    500: '#7f2911',
    950: '#000000',
  },
}
SCSS
$custom: #7f2911;
$custom-light: #ac6751;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2911",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 17
  },
  "hsl": {
    "h": 13.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.12391,
    "h": 35.8
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#7F2911
secondary
#3799B5
accent
#C9F335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2911

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

Preview Lab → · Contrast checker → · Palette generator →

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