#7F331F#7F331F

#7F331F is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.4% C 0.111 H 35.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7F331F
RGBrgb(127, 51, 31)
HSLhsl(13, 61%, 31%)
HSVhsv(13, 76%, 50%)
CMYKcmyk(0%, 59.8%, 75.6%, 50.2%)
CIE-LABlab(31.76, 31.62, 28.65)
CIE-LCHlch(31.76, 42.67, 42.18°)
OKLaboklab(42.37% 0.0897 0.0646)
OKLCHoklch(42.37% 0.111 35.7)
XYZxyz(10.1846, 6.9800, 2.1070)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F331F #1F6B7F
analogous
#7F1F3B #7F331F #7F631F
triadic
#7F331F #1F7F33 #331F7F
tetradic
#7F331F #3B7F1F #1F6B7F #631F7F
square
#7F331F #3B7F1F #1F6B7F #631F7F
split-complementary
#7F331F #1F7F63 #1F3B7F
monochromatic
#1D0B07 #4E1F13 #7F331F #B0472B #D26446

Accessibility & contrast

On white

8.77
#7F331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7F331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F331F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F331F#FFFFFF#000000##FFFFFF
##7F331F1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8C222F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f331f;
/* rgb */ color: rgb(127, 51, 31);
/* oklch */ color: oklch(42.4% 0.111 35.7);
Tailwind
colors: {
  custom: {
    50: '#aa6d5b',
    500: '#7f331f',
    950: '#000000',
  },
}
SCSS
$custom: #7f331f;
$custom-light: #aa6d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f331f",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 12.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.1105,
    "h": 35.7
  },
  "luminance": 0.06979
}

Semantic roles & 50–950 ramp

primary
#7F331F
secondary
#489CB2
accent
#C3E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F331F

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

Preview Lab → · Contrast checker → · Palette generator →

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