#7F291D#7F291D

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

Color values

HEX#7F291D
RGBrgb(127, 41, 29)
HSLhsl(7, 63%, 31%)
HSVhsv(7, 77%, 50%)
CMYKcmyk(0%, 67.7%, 77.2%, 50.2%)
CIE-LABlab(29.88, 36.44, 27.76)
CIE-LCHlch(29.88, 45.81, 37.30°)
OKLaboklab(40.95% 0.1042 0.0621)
OKLCHoklch(40.95% 0.121 30.8)
XYZxyz(9.7682, 6.1880, 1.8422)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F291D #1D737F
analogous
#7F1D42 #7F291D #7F5A1D
triadic
#7F291D #1D7F29 #291D7F
tetradic
#7F291D #427F1D #1D737F #5A1D7F
square
#7F291D #427F1D #1D737F #5A1D7F
split-complementary
#7F291D #1D7F5A #1D427F
monochromatic
#1B0906 #4D1912 #7F291D #B13928 #D45442

Accessibility & contrast

On white

9.39
#7F291D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F291D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F291D#FFFFFF#000000##FFFFFF
##7F291D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#8C1127
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f291d;
/* rgb */ color: rgb(127, 41, 29);
/* oklch */ color: oklch(40.9% 0.121 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6859',
    500: '#7f291d',
    950: '#000000',
  },
}
SCSS
$custom: #7f291d;
$custom-light: #ab6859;
$custom-dark: #000000;
JSON
{
  "hex": "#7f291d",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 7.347,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.12136,
    "h": 30.8
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#7F291D
secondary
#45A5B2
accent
#D2E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F291D

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

Preview Lab → · Contrast checker → · Palette generator →

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