#7F1916#7F1916

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

Color values

HEX#7F1916
RGBrgb(127, 25, 22)
HSLhsl(2, 70%, 29%)
HSVhsv(2, 83%, 50%)
CMYKcmyk(0%, 80.3%, 82.7%, 50.2%)
CIE-LABlab(27.48, 42.53, 29.39)
CIE-LCHlch(27.48, 51.70, 34.64°)
OKLaboklab(39.13% 0.1218 0.0636)
OKLCHoklch(39.13% 0.137 27.6)
XYZxyz(9.2460, 5.2667, 1.2886)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1916 #167C7F
analogous
#7F1648 #7F1916 #7F4E16
triadic
#7F1916 #167F19 #19167F
tetradic
#7F1916 #487F16 #167C7F #4E167F
square
#7F1916 #487F16 #167C7F #4E167F
split-complementary
#7F1916 #167F4E #16487F
monochromatic
#1A0505 #4B0F0D #7F1916 #B3231F #DC3834

Accessibility & contrast

On white

10.23
#7F1916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1916
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1916#FFFFFF#000000##FFFFFF
##7F19161.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393314
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1916;
/* rgb */ color: rgb(127, 25, 22);
/* oklch */ color: oklch(39.1% 0.137 27.6);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7f1916',
    950: '#000000',
  },
}
SCSS
$custom: #7f1916;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1916",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 22
  },
  "hsl": {
    "h": 1.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39125,
    "c": 0.13741,
    "h": 27.6
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#7F1916
secondary
#3DB0B4
accent
#E8ED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1916

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

Preview Lab → · Contrast checker → · Palette generator →

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