#7F1314#7F1314

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

Color values

HEX#7F1314
RGBrgb(127, 19, 20)
HSLhsl(359, 74%, 29%)
HSVhsv(359, 85%, 50%)
CMYKcmyk(0%, 85%, 84.3%, 50.2%)
CIE-LABlab(26.82, 44.28, 29.91)
CIE-LCHlch(26.82, 53.43, 34.04°)
OKLaboklab(38.63% 0.1269 0.0639)
OKLCHoklch(38.63% 0.142 26.7)
XYZxyz(9.1127, 5.0298, 1.1527)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1314 #137F7E
analogous
#7F134A #7F1314 #7F4813
triadic
#7F1314 #147F13 #13147F
tetradic
#7F1314 #4A7F13 #137F7E #48137F
square
#7F1314 #4A7F13 #137F7E #48137F
split-complementary
#7F1314 #137F48 #134A7F
monochromatic
#1B0404 #4A0B0C #7F1314 #B41B1C #E02D2E

Accessibility & contrast

On white

10.47
#7F1314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1314
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1314#FFFFFF#000000##FFFFFF
##7F13141.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373012
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1314;
/* rgb */ color: rgb(127, 19, 20);
/* oklch */ color: oklch(38.6% 0.142 26.7);
Tailwind
colors: {
  custom: {
    50: '#ad5e52',
    500: '#7f1314',
    950: '#000000',
  },
}
SCSS
$custom: #7f1314;
$custom-light: #ad5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1314",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 20
  },
  "hsl": {
    "h": 359.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.14208,
    "h": 26.7
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#7F1314
secondary
#39B4B3
accent
#F1EF37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1314

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

Preview Lab → · Contrast checker → · Palette generator →

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