#7F301C#7F301C

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

Color values

HEX#7F301C
RGBrgb(127, 48, 28)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 50%)
CMYKcmyk(0%, 62.2%, 78%, 50.2%)
CIE-LABlab(31.14, 33.01, 29.71)
CIE-LCHlch(31.14, 44.41, 41.99°)
OKLaboklab(41.89% 0.0934 0.0661)
OKLCHoklch(41.89% 0.114 35.3)
XYZxyz(10.0200, 6.7111, 1.8661)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F301C #1C6B7F
analogous
#7F1C3A #7F301C #7F611C
triadic
#7F301C #1C7F30 #301C7F
tetradic
#7F301C #3A7F1C #1C6B7F #611C7F
square
#7F301C #3A7F1C #1C6B7F #611C7F
split-complementary
#7F301C #1C7F61 #1C3A7F
monochromatic
#1B0A06 #4D1D11 #7F301C #B14327 #D55E40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F301C#FFFFFF#000000##FFFFFF
##7F301C1.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)
#463E19
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#8C1D2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f301c;
/* rgb */ color: rgb(127, 48, 28);
/* oklch */ color: oklch(41.9% 0.114 35.3);
Tailwind
colors: {
  custom: {
    50: '#ab6b59',
    500: '#7f301c',
    950: '#000000',
  },
}
SCSS
$custom: #7f301c;
$custom-light: #ab6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f301c",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 12.121,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41889,
    "c": 0.11442,
    "h": 35.3
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#7F301C
secondary
#449CB3
accent
#C5E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F301C

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

Preview Lab → · Contrast checker → · Palette generator →

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