#7F161D#7F161D

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

Color values

HEX#7F161D
RGBrgb(127, 22, 29)
HSLhsl(356, 70%, 29%)
HSVhsv(356, 83%, 50%)
CMYKcmyk(0%, 82.7%, 77.2%, 50.2%)
CIE-LABlab(27.23, 43.75, 24.81)
CIE-LCHlch(27.23, 50.30, 29.56°)
OKLaboklab(38.96% 0.1273 0.0557)
OKLCHoklch(38.96% 0.139 23.6)
XYZxyz(9.2622, 5.1760, 1.6735)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F161D #167F78
analogous
#7F1652 #7F161D #7F4416
triadic
#7F161D #1D7F16 #161D7F
tetradic
#7F161D #527F16 #167F78 #44167F
square
#7F161D #527F16 #167F78 #44167F
split-complementary
#7F161D #167F44 #16527F
monochromatic
#1A0506 #4B0D11 #7F161D #B31F29 #DC343F

Accessibility & contrast

On white

10.32
#7F161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F161D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F161D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F161D#FFFFFF#000000##FFFFFF
##7F161D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#514819
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f161d;
/* rgb */ color: rgb(127, 22, 29);
/* oklch */ color: oklch(39.0% 0.139 23.6);
Tailwind
colors: {
  custom: {
    50: '#ac5f59',
    500: '#7f161d',
    950: '#000000',
  },
}
SCSS
$custom: #7f161d;
$custom-light: #ac5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f161d",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 356,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38965,
    "c": 0.13894,
    "h": 23.6
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#7F161D
secondary
#3DB4AC
accent
#EDE13B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F161D

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

Preview Lab → · Contrast checker → · Palette generator →

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