#7F301E#7F301E

#7F301E is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.114 H 34.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7F301E
RGBrgb(127, 48, 30)
HSLhsl(11, 62%, 31%)
HSVhsv(11, 76%, 50%)
CMYKcmyk(0%, 62.2%, 76.4%, 50.2%)
CIE-LABlab(31.16, 33.10, 28.58)
CIE-LCHlch(31.16, 43.73, 40.80°)
OKLaboklab(41.91% 0.0941 0.0642)
OKLCHoklch(41.91% 0.114 34.3)
XYZxyz(10.0447, 6.7210, 1.9964)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F301E #1E6D7F
analogous
#7F1E3C #7F301E #7F601E
triadic
#7F301E #1E7F30 #301E7F
tetradic
#7F301E #3C7F1E #1E6D7F #601E7F
square
#7F301E #3C7F1E #1E6D7F #601E7F
split-complementary
#7F301E #1E7F60 #1E3C7F
monochromatic
#1C0B07 #4D1D12 #7F301E #B1432A #D35F44

Accessibility & contrast

On white

8.96
#7F301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F301E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F301E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F301E#FFFFFF#000000##FFFFFF
##7F301E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1C
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#8C1E2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f301e;
/* rgb */ color: rgb(127, 48, 30);
/* oklch */ color: oklch(41.9% 0.114 34.3);
Tailwind
colors: {
  custom: {
    50: '#ab6c5b',
    500: '#7f301e',
    950: '#000000',
  },
}
SCSS
$custom: #7f301e;
$custom-light: #ab6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f301e",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 11.134,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.11388,
    "h": 34.3
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#7F301E
secondary
#479EB2
accent
#C7E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F301E

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

Preview Lab → · Contrast checker → · Palette generator →

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