#7F301F#7F301F

#7F301F is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.114 H 33.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7F301F
RGBrgb(127, 48, 31)
HSLhsl(11, 61%, 31%)
HSVhsv(11, 76%, 50%)
CMYKcmyk(0%, 62.2%, 75.6%, 50.2%)
CIE-LABlab(31.18, 33.15, 28.00)
CIE-LCHlch(31.18, 43.40, 40.19°)
OKLaboklab(41.93% 0.0945 0.0631)
OKLCHoklch(41.93% 0.114 33.8)
XYZxyz(10.0577, 6.7262, 2.0647)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F301F #1F6E7F
analogous
#7F1F3E #7F301F #7F601F
triadic
#7F301F #1F7F30 #301F7F
tetradic
#7F301F #3E7F1F #1F6E7F #601F7F
square
#7F301F #3E7F1F #1F6E7F #601F7F
split-complementary
#7F301F #1F7F60 #1F3E7F
monochromatic
#1D0B07 #4E1D13 #7F301F #B0432B #D25F46

Accessibility & contrast

On white

8.96
#7F301F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F301F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F301F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F301F#FFFFFF#000000##FFFFFF
##7F301F1.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#8C1E2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f301f;
/* rgb */ color: rgb(127, 48, 31);
/* oklch */ color: oklch(41.9% 0.114 33.8);
Tailwind
colors: {
  custom: {
    50: '#aa6c5b',
    500: '#7f301f',
    950: '#000000',
  },
}
SCSS
$custom: #7f301f;
$custom-light: #aa6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f301f",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 31
  },
  "hsl": {
    "h": 10.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.11361,
    "h": 33.8
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#7F301F
secondary
#489FB2
accent
#C8E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F301F

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

Preview Lab → · Contrast checker → · Palette generator →

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