#7F2814#7F2814

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

Color values

HEX#7F2814
RGBrgb(127, 40, 20)
HSLhsl(11, 73%, 29%)
HSVhsv(11, 84%, 50%)
CMYKcmyk(0%, 68.5%, 84.3%, 50.2%)
CIE-LABlab(29.62, 36.54, 32.61)
CIE-LCHlch(29.62, 48.98, 41.75°)
OKLaboklab(40.72% 0.1027 0.0699)
OKLCHoklch(40.72% 0.124 34.2)
XYZxyz(9.6386, 6.0815, 1.3280)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2814 #146B7F
analogous
#7F1436 #7F2814 #7F5E14
triadic
#7F2814 #147F28 #28147F
tetradic
#7F2814 #367F14 #146B7F #5E147F
square
#7F2814 #367F14 #146B7F #5E147F
split-complementary
#7F2814 #147F5E #14367F
monochromatic
#1A0804 #4A170C #7F2814 #B4391C #DE502F

Accessibility & contrast

On white

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

On black

2.22
#7F2814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F2814#FFFFFF#000000##FFFFFF
##7F28141.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A11
Deuteranopia (green-blind)
#574D10
Tritanopia (blue-blind)
#8C0D24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2814;
/* rgb */ color: rgb(127, 40, 20);
/* oklch */ color: oklch(40.7% 0.124 34.2);
Tailwind
colors: {
  custom: {
    50: '#ac6753',
    500: '#7f2814',
    950: '#000000',
  },
}
SCSS
$custom: #7f2814;
$custom-light: #ac6753;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2814",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 20
  },
  "hsl": {
    "h": 11.215,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40716,
    "c": 0.12425,
    "h": 34.2
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#7F2814
secondary
#3B9DB4
accent
#CDEF38
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2814

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

Preview Lab → · Contrast checker → · Palette generator →

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