#7F321A#7F321A

#7F321A is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.2% C 0.113 H 37.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7F321A
RGBrgb(127, 50, 26)
HSLhsl(14, 66%, 30%)
HSVhsv(14, 80%, 50%)
CMYKcmyk(0%, 60.6%, 79.5%, 50.2%)
CIE-LABlab(31.51, 31.90, 31.22)
CIE-LCHlch(31.51, 44.64, 44.39°)
OKLaboklab(42.16% 0.0896 0.0688)
OKLCHoklch(42.16% 0.113 37.5)
XYZxyz(10.0805, 6.8692, 1.7721)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F321A #1A677F
analogous
#7F1A35 #7F321A #7F641A
triadic
#7F321A #1A7F32 #321A7F
tetradic
#7F321A #357F1A #1A677F #641A7F
square
#7F321A #357F1A #1A677F #641A7F
split-complementary
#7F321A #1A7F64 #1A357F
monochromatic
#190A05 #4C1E10 #7F321A #B24624 #D7613C

Accessibility & contrast

On white

8.85
#7F321A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7F321A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F321A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F321A#FFFFFF#000000##FFFFFF
##7F321A1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F17
Deuteranopia (green-blind)
#5A5118
Tritanopia (blue-blind)
#8C202D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f321a;
/* rgb */ color: rgb(127, 50, 26);
/* oklch */ color: oklch(42.2% 0.113 37.5);
Tailwind
colors: {
  custom: {
    50: '#ab6d58',
    500: '#7f321a',
    950: '#000000',
  },
}
SCSS
$custom: #7f321a;
$custom-light: #ab6d58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f321a",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 26
  },
  "hsl": {
    "h": 14.257,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.11296,
    "h": 37.5
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#7F321A
secondary
#4298B3
accent
#C1E93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F321A

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

Preview Lab → · Contrast checker → · Palette generator →

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