#7F321F#7F321F

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

Color values

HEX#7F321F
RGBrgb(127, 50, 31)
HSLhsl(12, 61%, 31%)
HSVhsv(12, 76%, 50%)
CMYKcmyk(0%, 60.6%, 75.6%, 50.2%)
CIE-LABlab(31.56, 32.14, 28.43)
CIE-LCHlch(31.56, 42.91, 41.50°)
OKLaboklab(42.22% 0.0913 0.0641)
OKLCHoklch(42.22% 0.112 35.1)
XYZxyz(10.1414, 6.8935, 2.0926)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F321F #1F6C7F
analogous
#7F1F3C #7F321F #7F621F
triadic
#7F321F #1F7F32 #321F7F
tetradic
#7F321F #3C7F1F #1F6C7F #621F7F
square
#7F321F #3C7F1F #1F6C7F #621F7F
split-complementary
#7F321F #1F7F62 #1F3C7F
monochromatic
#1D0B07 #4E1F13 #7F321F #B0452B #D26246

Accessibility & contrast

On white

8.83
#7F321F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7F321F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F321F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F321F#FFFFFF#000000##FFFFFF
##7F321F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8C212E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f321f;
/* rgb */ color: rgb(127, 50, 31);
/* oklch */ color: oklch(42.2% 0.112 35.1);
Tailwind
colors: {
  custom: {
    50: '#aa6d5b',
    500: '#7f321f',
    950: '#000000',
  },
}
SCSS
$custom: #7f321f;
$custom-light: #aa6d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f321f",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 31
  },
  "hsl": {
    "h": 11.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.11153,
    "h": 35.1
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#7F321F
secondary
#489DB2
accent
#C4E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F321F

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

Preview Lab → · Contrast checker → · Palette generator →

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