#7F1617#7F1617

#7F1617 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 26.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7F1617
RGBrgb(127, 22, 23)
HSLhsl(359, 70%, 29%)
HSVhsv(359, 83%, 50%)
CMYKcmyk(0%, 82.7%, 81.9%, 50.2%)
CIE-LABlab(27.16, 43.52, 28.46)
CIE-LCHlch(27.16, 52.00, 33.18°)
OKLaboklab(38.89% 0.1251 0.0619)
OKLCHoklch(38.89% 0.14 26.3)
XYZxyz(9.1951, 5.1492, 1.3202)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1617 #167F7E
analogous
#7F164C #7F1617 #7F4A16
triadic
#7F1617 #177F16 #16177F
tetradic
#7F1617 #4C7F16 #167F7E #4A167F
square
#7F1617 #4C7F16 #167F7E #4A167F
split-complementary
#7F1617 #167F4A #164C7F
monochromatic
#1A0505 #4B0D0E #7F1617 #B31F20 #DC3435

Accessibility & contrast

On white

10.35
#7F1617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1617
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1617#FFFFFF#000000##FFFFFF
##7F16171.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383216
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1617;
/* rgb */ color: rgb(127, 22, 23);
/* oklch */ color: oklch(38.9% 0.140 26.3);
Tailwind
colors: {
  custom: {
    50: '#ac5f54',
    500: '#7f1617',
    950: '#000000',
  },
}
SCSS
$custom: #7f1617;
$custom-light: #ac5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1617",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 23
  },
  "hsl": {
    "h": 359.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.1396,
    "h": 26.3
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#7F1617
secondary
#3DB4B3
accent
#EDEC3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7F1617

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

Preview Lab → · Contrast checker → · Palette generator →

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