#7F1317#7F1317

#7F1317 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 25.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1317
RGBrgb(127, 19, 23)
HSLhsl(358, 74%, 29%)
HSVhsv(358, 85%, 50%)
CMYKcmyk(0%, 85%, 81.9%, 50.2%)
CIE-LABlab(26.85, 44.38, 28.14)
CIE-LCHlch(26.85, 52.55, 32.38°)
OKLaboklab(38.66% 0.1279 0.0612)
OKLCHoklch(38.66% 0.142 25.6)
XYZxyz(9.1411, 5.0411, 1.3022)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1317 #137F7B
analogous
#7F134D #7F1317 #7F4513
triadic
#7F1317 #177F13 #13177F
tetradic
#7F1317 #4D7F13 #137F7B #45137F
square
#7F1317 #4D7F13 #137F7B #45137F
split-complementary
#7F1317 #137F45 #134D7F
monochromatic
#1B0405 #4A0B0D #7F1317 #B41B21 #E02D33

Accessibility & contrast

On white

10.46
#7F1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F1317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1317
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1317#FFFFFF#000000##FFFFFF
##7F13171.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363116
Deuteranopia (green-blind)
#514812
Tritanopia (blue-blind)
#8D0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1317;
/* rgb */ color: rgb(127, 19, 23);
/* oklch */ color: oklch(38.7% 0.142 25.6);
Tailwind
colors: {
  custom: {
    50: '#ad5e54',
    500: '#7f1317',
    950: '#000000',
  },
}
SCSS
$custom: #7f1317;
$custom-light: #ad5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1317",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 357.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3866,
    "c": 0.14174,
    "h": 25.6
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#7F1317
secondary
#39B4B0
accent
#F1EA37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7F1317

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

Preview Lab → · Contrast checker → · Palette generator →

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