#7F331D#7F331D

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

Color values

HEX#7F331D
RGBrgb(127, 51, 29)
HSLhsl(13, 63%, 31%)
HSVhsv(13, 77%, 50%)
CMYKcmyk(0%, 59.8%, 77.2%, 50.2%)
CIE-LABlab(31.74, 31.52, 29.78)
CIE-LCHlch(31.74, 43.36, 43.37°)
OKLaboklab(42.35% 0.089 0.0665)
OKLCHoklch(42.35% 0.111 36.8)
XYZxyz(10.1590, 6.9697, 1.9725)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F331D #1D697F
analogous
#7F1D38 #7F331D #7F641D
triadic
#7F331D #1D7F33 #331D7F
tetradic
#7F331D #387F1D #1D697F #641D7F
square
#7F331D #387F1D #1D697F #641D7F
split-complementary
#7F331D #1D7F64 #1D387F
monochromatic
#1B0B06 #4D1F12 #7F331D #B14728 #D46342

Accessibility & contrast

On white

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

On black

2.39
#7F331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F331D#FFFFFF#000000##FFFFFF
##7F331D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401A
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#8C222E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f331d;
/* rgb */ color: rgb(127, 51, 29);
/* oklch */ color: oklch(42.3% 0.111 36.8);
Tailwind
colors: {
  custom: {
    50: '#aa6d5a',
    500: '#7f331d',
    950: '#000000',
  },
}
SCSS
$custom: #7f331d;
$custom-light: #aa6d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f331d",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 13.469,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.11109,
    "h": 36.8
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#7F331D
secondary
#459AB2
accent
#C1E642
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F331D

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

Preview Lab → · Contrast checker → · Palette generator →

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