#7F351F#7F351F

#7F351F is a dark, moderate red. Relative luminance 0.072; OKLCH L 42.7% C 0.108 H 37.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7F351F
RGBrgb(127, 53, 31)
HSLhsl(14, 61%, 31%)
HSVhsv(14, 76%, 50%)
CMYKcmyk(0%, 58.3%, 75.6%, 50.2%)
CIE-LABlab(32.16, 30.57, 29.10)
CIE-LCHlch(32.16, 42.20, 43.59°)
OKLaboklab(42.68% 0.0865 0.0655)
OKLCHoklch(42.68% 0.108 37.2)
XYZxyz(10.2738, 7.1585, 2.1368)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F351F #1F697F
analogous
#7F1F39 #7F351F #7F651F
triadic
#7F351F #1F7F35 #351F7F
tetradic
#7F351F #397F1F #1F697F #651F7F
square
#7F351F #397F1F #1F697F #651F7F
split-complementary
#7F351F #1F7F65 #1F397F
monochromatic
#1D0C07 #4E2013 #7F351F #B04A2B #D26646

Accessibility & contrast

On white

8.64
#7F351F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F351F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F351F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F351F#FFFFFF#000000##FFFFFF
##7F351F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411C
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#8C2530
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f351f;
/* rgb */ color: rgb(127, 53, 31);
/* oklch */ color: oklch(42.7% 0.108 37.2);
Tailwind
colors: {
  custom: {
    50: '#aa6f5c',
    500: '#7f351f',
    950: '#000000',
  },
}
SCSS
$custom: #7f351f;
$custom-light: #aa6f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f351f",
  "rgb": {
    "r": 127,
    "g": 53,
    "b": 31
  },
  "hsl": {
    "h": 13.75,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.10848,
    "h": 37.2
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#7F351F
secondary
#489AB2
accent
#BFE444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F351F

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

Preview Lab → · Contrast checker → · Palette generator →

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