#7F3017#7F3017

#7F3017 is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.8% C 0.116 H 37.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7F3017
RGBrgb(127, 48, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 82%, 50%)
CMYKcmyk(0%, 62.2%, 81.9%, 50.2%)
CIE-LABlab(31.09, 32.80, 32.44)
CIE-LCHlch(31.09, 46.13, 44.68°)
OKLaboklab(41.83% 0.0918 0.0706)
OKLCHoklch(41.83% 0.116 37.6)
XYZxyz(9.9651, 6.6892, 1.5769)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3017 #17667F
analogous
#7F1732 #7F3017 #7F6417
triadic
#7F3017 #177F30 #30177F
tetradic
#7F3017 #327F17 #17667F #64177F
square
#7F3017 #327F17 #17667F #64177F
split-complementary
#7F3017 #177F64 #17327F
monochromatic
#1A0A05 #4B1C0E #7F3017 #B34420 #DB5D36

Accessibility & contrast

On white

8.98
#7F3017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F3017
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3017#FFFFFF#000000##FFFFFF
##7F30171.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#8C1D2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f3017;
/* rgb */ color: rgb(127, 48, 23);
/* oklch */ color: oklch(41.8% 0.116 37.6);
Tailwind
colors: {
  custom: {
    50: '#ab6b56',
    500: '#7f3017',
    950: '#000000',
  },
}
SCSS
$custom: #7f3017;
$custom-light: #ab6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3017",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 23
  },
  "hsl": {
    "h": 14.423,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.11575,
    "h": 37.6
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#7F3017
secondary
#3E97B4
accent
#C2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F3017

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

Preview Lab → · Contrast checker → · Palette generator →

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