#7F1712#7F1712

#7F1712 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 28.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1712
RGBrgb(127, 23, 18)
HSLhsl(3, 75%, 28%)
HSVhsv(3, 86%, 50%)
CMYKcmyk(0%, 81.9%, 85.8%, 50.2%)
CIE-LABlab(27.21, 43.05, 31.44)
CIE-LCHlch(27.21, 53.31, 36.14°)
OKLaboklab(38.91% 0.1226 0.0665)
OKLCHoklch(38.91% 0.139 28.5)
XYZxyz(9.1691, 5.1700, 1.0873)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1712 #127A7F
analogous
#7F1243 #7F1712 #7F4D12
triadic
#7F1712 #127F17 #17127F
tetradic
#7F1712 #437F12 #127A7F #4D127F
square
#7F1712 #437F12 #127A7F #4D127F
split-complementary
#7F1712 #127F4D #12437F
monochromatic
#1B0504 #490D0A #7F1712 #B5211A #E1332B

Accessibility & contrast

On white

10.33
#7F1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1712
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1712#FFFFFF#000000##FFFFFF
##7F17121.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383210
Deuteranopia (green-blind)
#52480C
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1712;
/* rgb */ color: rgb(127, 23, 18);
/* oklch */ color: oklch(38.9% 0.139 28.5);
Tailwind
colors: {
  custom: {
    50: '#ad5f51',
    500: '#7f1712',
    950: '#000000',
  },
}
SCSS
$custom: #7f1712;
$custom-light: #ad5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1712",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 2.752,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.13949,
    "h": 28.5
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#7F1712
secondary
#38AFB5
accent
#E9F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1712

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

Preview Lab → · Contrast checker → · Palette generator →

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