#7F331C#7F331C

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

Color values

HEX#7F331C
RGBrgb(127, 51, 28)
HSLhsl(14, 64%, 30%)
HSVhsv(14, 78%, 50%)
CMYKcmyk(0%, 59.8%, 78%, 50.2%)
CIE-LABlab(31.73, 31.47, 30.34)
CIE-LCHlch(31.73, 43.71, 43.95°)
OKLaboklab(42.33% 0.0887 0.0675)
OKLCHoklch(42.33% 0.111 37.3)
XYZxyz(10.1469, 6.9649, 1.9084)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F331C #1C687F
analogous
#7F1C37 #7F331C #7F641C
triadic
#7F331C #1C7F33 #331C7F
tetradic
#7F331C #377F1C #1C687F #641C7F
square
#7F331C #377F1C #1C687F #641C7F
split-complementary
#7F331C #1C7F64 #1C377F
monochromatic
#1B0B06 #4D1F11 #7F331C #B14727 #D56340

Accessibility & contrast

On white

8.78
#7F331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F331C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F331C#FFFFFF#000000##FFFFFF
##7F331C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#8C222E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f331c;
/* rgb */ color: rgb(127, 51, 28);
/* oklch */ color: oklch(42.3% 0.111 37.3);
Tailwind
colors: {
  custom: {
    50: '#aa6d59',
    500: '#7f331c',
    950: '#000000',
  },
}
SCSS
$custom: #7f331c;
$custom-light: #aa6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f331c",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 13.939,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42333,
    "c": 0.11139,
    "h": 37.3
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#7F331C
secondary
#4499B3
accent
#C0E741
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F331C

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

Preview Lab → · Contrast checker → · Palette generator →

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