#7F291E#7F291E

#7F291E is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.121 H 30.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F291E
RGBrgb(127, 41, 30)
HSLhsl(7, 62%, 31%)
HSVhsv(7, 76%, 50%)
CMYKcmyk(0%, 67.7%, 76.4%, 50.2%)
CIE-LABlab(29.89, 36.48, 27.18)
CIE-LCHlch(29.89, 45.49, 36.68°)
OKLaboklab(40.96% 0.1046 0.0611)
OKLCHoklch(40.96% 0.121 30.3)
XYZxyz(9.7807, 6.1930, 1.9084)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F291E #1E747F
analogous
#7F1E43 #7F291E #7F591E
triadic
#7F291E #1E7F29 #291E7F
tetradic
#7F291E #437F1E #1E747F #591E7F
square
#7F291E #437F1E #1E747F #591E7F
split-complementary
#7F291E #1E7F59 #1E437F
monochromatic
#1C0907 #4D1912 #7F291E #B1392A #D35544

Accessibility & contrast

On white

9.38
#7F291E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F291E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F291E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F291E#FFFFFF#000000##FFFFFF
##7F291E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1C
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#8C1227
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f291e;
/* rgb */ color: rgb(127, 41, 30);
/* oklch */ color: oklch(41.0% 0.121 30.3);
Tailwind
colors: {
  custom: {
    50: '#ab685a',
    500: '#7f291e',
    950: '#000000',
  },
}
SCSS
$custom: #7f291e;
$custom-light: #ab685a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f291e",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 6.804,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.12116,
    "h": 30.3
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#7F291E
secondary
#47A6B2
accent
#D3E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F291E

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

Preview Lab → · Contrast checker → · Palette generator →

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