#7F1213#7F1213

#7F1213 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.143 H 26.9°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7F1213
RGBrgb(127, 18, 19)
HSLhsl(359, 75%, 28%)
HSVhsv(359, 86%, 50%)
CMYKcmyk(0%, 85.8%, 85%, 50.2%)
CIE-LABlab(26.72, 44.51, 30.39)
CIE-LCHlch(26.72, 53.90, 34.33°)
OKLaboklab(38.55% 0.1274 0.0646)
OKLCHoklch(38.55% 0.143 26.9)
XYZxyz(9.0874, 4.9932, 1.1013)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1213 #127F7E
analogous
#7F1249 #7F1213 #7F4712
triadic
#7F1213 #137F12 #12137F
tetradic
#7F1213 #497F12 #127F7E #47127F
square
#7F1213 #497F12 #127F7E #47127F
split-complementary
#7F1213 #127F47 #12497F
monochromatic
#1B0404 #490A0B #7F1213 #B51A1B #E12B2C

Accessibility & contrast

On white

10.51
#7F1213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1213
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1213#FFFFFF#000000##FFFFFF
##7F12131.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363011
Deuteranopia (green-blind)
#51470D
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1213;
/* rgb */ color: rgb(127, 18, 19);
/* oklch */ color: oklch(38.5% 0.143 26.9);
Tailwind
colors: {
  custom: {
    50: '#ad5d51',
    500: '#7f1213',
    950: '#000000',
  },
}
SCSS
$custom: #7f1213;
$custom-light: #ad5d51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1213",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.45,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.14286,
    "h": 26.9
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#7F1213
secondary
#38B5B4
accent
#F2F036
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1213

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

Preview Lab → · Contrast checker → · Palette generator →

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