#7F1912#7F1912

#7F1912 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.138 H 29.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7F1912
RGBrgb(127, 25, 18)
HSLhsl(4, 75%, 28%)
HSVhsv(4, 86%, 50%)
CMYKcmyk(0%, 80.3%, 85.8%, 50.2%)
CIE-LABlab(27.44, 42.41, 31.65)
CIE-LCHlch(27.44, 52.92, 36.74°)
OKLaboklab(39.08% 0.1206 0.067)
OKLCHoklch(39.08% 0.138 29.1)
XYZxyz(9.2103, 5.2524, 1.1010)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1912 #12787F
analogous
#7F1241 #7F1912 #7F4F12
triadic
#7F1912 #127F19 #19127F
tetradic
#7F1912 #417F12 #12787F #4F127F
square
#7F1912 #417F12 #12787F #4F127F
split-complementary
#7F1912 #127F4F #12417F
monochromatic
#1B0504 #490E0A #7F1912 #B5241A #E1362B

Accessibility & contrast

On white

10.24
#7F1912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1912
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1912#FFFFFF#000000##FFFFFF
##7F19121.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393310
Deuteranopia (green-blind)
#52490C
Tritanopia (blue-blind)
#8D0019
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1912;
/* rgb */ color: rgb(127, 25, 18);
/* oklch */ color: oklch(39.1% 0.138 29.1);
Tailwind
colors: {
  custom: {
    50: '#ad6051',
    500: '#7f1912',
    950: '#000000',
  },
}
SCSS
$custom: #7f1912;
$custom-light: #ad6051;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1912",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 18
  },
  "hsl": {
    "h": 3.853,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39083,
    "c": 0.13796,
    "h": 29.1
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#7F1912
secondary
#38ADB5
accent
#E6F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1912

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

Preview Lab → · Contrast checker → · Palette generator →

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