#7F1318#7F1318

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

Color values

HEX#7F1318
RGBrgb(127, 19, 24)
HSLhsl(357, 74%, 29%)
HSVhsv(357, 85%, 50%)
CMYKcmyk(0%, 85%, 81.1%, 50.2%)
CIE-LABlab(26.86, 44.41, 27.54)
CIE-LCHlch(26.86, 52.26, 31.81°)
OKLaboklab(38.67% 0.1282 0.0602)
OKLCHoklch(38.67% 0.142 25.2)
XYZxyz(9.1513, 5.0452, 1.3560)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1318 #137F7A
analogous
#7F134E #7F1318 #7F4413
triadic
#7F1318 #187F13 #13187F
tetradic
#7F1318 #4E7F13 #137F7A #44137F
square
#7F1318 #4E7F13 #137F7A #44137F
split-complementary
#7F1318 #137F44 #134E7F
monochromatic
#1B0405 #4A0B0E #7F1318 #B41B22 #E02D35

Accessibility & contrast

On white

10.45
#7F1318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1318
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1318#FFFFFF#000000##FFFFFF
##7F13181.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1318;
/* rgb */ color: rgb(127, 19, 24);
/* oklch */ color: oklch(38.7% 0.142 25.2);
Tailwind
colors: {
  custom: {
    50: '#ad5e55',
    500: '#7f1318',
    950: '#000000',
  },
}
SCSS
$custom: #7f1318;
$custom-light: #ad5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1318",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 357.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.14164,
    "h": 25.2
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#7F1318
secondary
#39B4AF
accent
#F1E837
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1318

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

Preview Lab → · Contrast checker → · Palette generator →

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