#7F301B#7F301B

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

Color values

HEX#7F301B
RGBrgb(127, 48, 27)
HSLhsl(13, 65%, 30%)
HSVhsv(13, 79%, 50%)
CMYKcmyk(0%, 62.2%, 78.7%, 50.2%)
CIE-LABlab(31.13, 32.97, 30.27)
CIE-LCHlch(31.13, 44.75, 42.56°)
OKLaboklab(41.88% 0.093 0.067)
OKLCHoklch(41.88% 0.115 35.8)
XYZxyz(10.0082, 6.7064, 1.8042)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F301B #1B6A7F
analogous
#7F1B38 #7F301B #7F621B
triadic
#7F301B #1B7F30 #301B7F
tetradic
#7F301B #387F1B #1B6A7F #621B7F
square
#7F301B #387F1B #1B6A7F #621B7F
split-complementary
#7F301B #1B7F62 #1B387F
monochromatic
#1A0A06 #4D1D10 #7F301B #B14326 #D65E3E

Accessibility & contrast

On white

8.97
#7F301B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7F301B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F301B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F301B#FFFFFF#000000##FFFFFF
##7F301B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#8C1D2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f301b;
/* rgb */ color: rgb(127, 48, 27);
/* oklch */ color: oklch(41.9% 0.115 35.8);
Tailwind
colors: {
  custom: {
    50: '#ab6b58',
    500: '#7f301b',
    950: '#000000',
  },
}
SCSS
$custom: #7f301b;
$custom-light: #ab6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f301b",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 27
  },
  "hsl": {
    "h": 12.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.11469,
    "h": 35.8
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#7F301B
secondary
#439BB3
accent
#C5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F301B

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

Preview Lab → · Contrast checker → · Palette generator →

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