#7F321B#7F321B

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

Color values

HEX#7F321B
RGBrgb(127, 50, 27)
HSLhsl(14, 65%, 30%)
HSVhsv(14, 79%, 50%)
CMYKcmyk(0%, 60.6%, 78.7%, 50.2%)
CIE-LABlab(31.52, 31.95, 30.68)
CIE-LCHlch(31.52, 44.29, 43.84°)
OKLaboklab(42.17% 0.0899 0.0679)
OKLCHoklch(42.17% 0.113 37.1)
XYZxyz(10.0919, 6.8737, 1.8320)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F321B #1B687F
analogous
#7F1B36 #7F321B #7F641B
triadic
#7F321B #1B7F32 #321B7F
tetradic
#7F321B #367F1B #1B687F #641B7F
square
#7F321B #367F1B #1B687F #641B7F
split-complementary
#7F321B #1B7F64 #1B367F
monochromatic
#1A0A06 #4D1E10 #7F321B #B14626 #D6613E

Accessibility & contrast

On white

8.84
#7F321B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F321B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F321B#FFFFFF#000000##FFFFFF
##7F321B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f321b;
/* rgb */ color: rgb(127, 50, 27);
/* oklch */ color: oklch(42.2% 0.113 37.1);
Tailwind
colors: {
  custom: {
    50: '#ab6d59',
    500: '#7f321b',
    950: '#000000',
  },
}
SCSS
$custom: #7f321b;
$custom-light: #ab6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f321b",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 27
  },
  "hsl": {
    "h": 13.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42171,
    "c": 0.11267,
    "h": 37.1
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#7F321B
secondary
#4399B3
accent
#C1E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F321B

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

Preview Lab → · Contrast checker → · Palette generator →

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