#7F341F#7F341F

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

Color values

HEX#7F341F
RGBrgb(127, 52, 31)
HSLhsl(13, 61%, 31%)
HSVhsv(13, 76%, 50%)
CMYKcmyk(0%, 59.1%, 75.6%, 50.2%)
CIE-LABlab(31.96, 31.10, 28.87)
CIE-LCHlch(31.96, 42.43, 42.88°)
OKLaboklab(42.52% 0.0881 0.065)
OKLCHoklch(42.52% 0.109 36.4)
XYZxyz(10.2287, 7.0683, 2.1217)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F341F #1F6A7F
analogous
#7F1F3A #7F341F #7F641F
triadic
#7F341F #1F7F34 #341F7F
tetradic
#7F341F #3A7F1F #1F6A7F #641F7F
square
#7F341F #3A7F1F #1F6A7F #641F7F
split-complementary
#7F341F #1F7F64 #1F3A7F
monochromatic
#1D0C07 #4E2013 #7F341F #B0482B #D26546

Accessibility & contrast

On white

8.70
#7F341F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F341F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F341F#FFFFFF#000000##FFFFFF
##7F341F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48411C
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#8C242F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f341f;
/* rgb */ color: rgb(127, 52, 31);
/* oklch */ color: oklch(42.5% 0.109 36.4);
Tailwind
colors: {
  custom: {
    50: '#aa6e5b',
    500: '#7f341f',
    950: '#000000',
  },
}
SCSS
$custom: #7f341f;
$custom-light: #aa6e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f341f",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 31
  },
  "hsl": {
    "h": 13.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.10949,
    "h": 36.4
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#7F341F
secondary
#489BB2
accent
#C1E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F341F

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

Preview Lab → · Contrast checker → · Palette generator →

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