#7F1E1F#7F1E1F

#7F1E1F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.132 H 25.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7F1E1F
RGBrgb(127, 30, 31)
HSLhsl(359, 62%, 31%)
HSVhsv(359, 76%, 50%)
CMYKcmyk(0%, 76.4%, 75.6%, 50.2%)
CIE-LABlab(28.22, 41.14, 24.67)
CIE-LCHlch(28.22, 47.97, 30.95°)
OKLaboklab(39.71% 0.1195 0.0559)
OKLCHoklch(39.71% 0.132 25.1)
XYZxyz(9.4651, 5.5410, 1.8672)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E1F #1E7F7E
analogous
#7F1E4F #7F1E1F #7F4D1E
triadic
#7F1E1F #1F7F1E #1E1F7F
tetradic
#7F1E1F #4F7F1E #1E7F7E #4D1E7F
square
#7F1E1F #4F7F1E #1E7F7E #4D1E7F
split-complementary
#7F1E1F #1E7F4D #1E4F7F
monochromatic
#1C0707 #4D1213 #7F1E1F #B12A2B #D34446

Accessibility & contrast

On white

9.96
#7F1E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E1F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E1F#FFFFFF#000000##FFFFFF
##7F1E1F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e1f;
/* rgb */ color: rgb(127, 30, 31);
/* oklch */ color: oklch(39.7% 0.132 25.1);
Tailwind
colors: {
  custom: {
    50: '#ab625b',
    500: '#7f1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e1f;
$custom-light: #ab625b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e1f",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.381,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.1319,
    "h": 25.1
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#7F1E1F
secondary
#47B2B1
accent
#E5E343
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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