#7F301D#7F301D

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

Color values

HEX#7F301D
RGBrgb(127, 48, 29)
HSLhsl(12, 63%, 31%)
HSVhsv(12, 77%, 50%)
CMYKcmyk(0%, 62.2%, 77.2%, 50.2%)
CIE-LABlab(31.15, 33.06, 29.15)
CIE-LCHlch(31.15, 44.07, 41.40°)
OKLaboklab(41.9% 0.0937 0.0651)
OKLCHoklch(41.9% 0.114 34.8)
XYZxyz(10.0322, 6.7160, 1.9302)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F301D #1D6C7F
analogous
#7F1D3B #7F301D #7F611D
triadic
#7F301D #1D7F30 #301D7F
tetradic
#7F301D #3B7F1D #1D6C7F #611D7F
square
#7F301D #3B7F1D #1D6C7F #611D7F
split-complementary
#7F301D #1D7F61 #1D3B7F
monochromatic
#1B0A06 #4D1D12 #7F301D #B14328 #D45F42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F301D#FFFFFF#000000##FFFFFF
##7F301D1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f301d;
/* rgb */ color: rgb(127, 48, 29);
/* oklch */ color: oklch(41.9% 0.114 34.8);
Tailwind
colors: {
  custom: {
    50: '#ab6c5a',
    500: '#7f301d',
    950: '#000000',
  },
}
SCSS
$custom: #7f301d;
$custom-light: #ab6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f301d",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 29
  },
  "hsl": {
    "h": 11.633,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.11414,
    "h": 34.8
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#7F301D
secondary
#459DB2
accent
#C6E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F301D

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

Preview Lab → · Contrast checker → · Palette generator →

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