#7F341E#7F341E

#7F341E is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.5% C 0.110 H 37.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7F341E
RGBrgb(127, 52, 30)
HSLhsl(14, 62%, 31%)
HSVhsv(14, 76%, 50%)
CMYKcmyk(0%, 59.1%, 76.4%, 50.2%)
CIE-LABlab(31.95, 31.05, 29.44)
CIE-LCHlch(31.95, 42.78, 43.48°)
OKLaboklab(42.51% 0.0877 0.066)
OKLCHoklch(42.51% 0.11 37)
XYZxyz(10.2158, 7.0631, 2.0534)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F341E #1E697F
analogous
#7F1E38 #7F341E #7F641E
triadic
#7F341E #1E7F34 #341E7F
tetradic
#7F341E #387F1E #1E697F #641E7F
square
#7F341E #387F1E #1E697F #641E7F
split-complementary
#7F341E #1E7F64 #1E387F
monochromatic
#1C0B07 #4D2012 #7F341E #B1482A #D36544

Accessibility & contrast

On white

8.71
#7F341E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7F341E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F341E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F341E#FFFFFF#000000##FFFFFF
##7F341E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411B
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#8C242F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f341e;
/* rgb */ color: rgb(127, 52, 30);
/* oklch */ color: oklch(42.5% 0.110 37.0);
Tailwind
colors: {
  custom: {
    50: '#aa6e5b',
    500: '#7f341e',
    950: '#000000',
  },
}
SCSS
$custom: #7f341e;
$custom-light: #aa6e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f341e",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 30
  },
  "hsl": {
    "h": 13.608,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4251,
    "c": 0.10979,
    "h": 37
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#7F341E
secondary
#479AB2
accent
#C0E543
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F341E

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

Preview Lab → · Contrast checker → · Palette generator →

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