#7F2812#7F2812

#7F2812 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.125 H 35.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F2812
RGBrgb(127, 40, 18)
HSLhsl(12, 75%, 28%)
HSVhsv(12, 86%, 50%)
CMYKcmyk(0%, 68.5%, 85.8%, 50.2%)
CIE-LABlab(29.60, 36.47, 33.65)
CIE-LCHlch(29.60, 49.62, 42.69°)
OKLaboklab(40.7% 0.1022 0.0715)
OKLCHoklch(40.7% 0.125 35)
XYZxyz(9.6215, 6.0747, 1.2381)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2812 #12697F
analogous
#7F1232 #7F2812 #7F5E12
triadic
#7F2812 #127F28 #28127F
tetradic
#7F2812 #327F12 #12697F #5E127F
square
#7F2812 #327F12 #12697F #5E127F
split-complementary
#7F2812 #127F5E #12327F
monochromatic
#1B0804 #49170A #7F2812 #B5391A #E14F2B

Accessibility & contrast

On white

9.48
#7F2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2812
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2812#FFFFFF#000000##FFFFFF
##7F28121.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8C0D24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2812;
/* rgb */ color: rgb(127, 40, 18);
/* oklch */ color: oklch(40.7% 0.125 35.0);
Tailwind
colors: {
  custom: {
    50: '#ac6752',
    500: '#7f2812',
    950: '#000000',
  },
}
SCSS
$custom: #7f2812;
$custom-light: #ac6752;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2812",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12.11,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40698,
    "c": 0.12467,
    "h": 35
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#7F2812
secondary
#389CB5
accent
#CCF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2812

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

Preview Lab → · Contrast checker → · Palette generator →

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