#7F1313#7F1313

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

Color values

HEX#7F1313
RGBrgb(127, 19, 19)
HSLhsl(0, 74%, 29%)
HSVhsv(0, 85%, 50%)
CMYKcmyk(0%, 85%, 85%, 50.2%)
CIE-LABlab(26.81, 44.25, 30.49)
CIE-LCHlch(26.81, 53.73, 34.57°)
OKLaboklab(38.62% 0.1266 0.0648)
OKLCHoklch(38.62% 0.142 27.1)
XYZxyz(9.1040, 5.0263, 1.1068)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1313 #137F7F
analogous
#7F1349 #7F1313 #7F4913
triadic
#7F1313 #137F13 #13137F
tetradic
#7F1313 #497F13 #137F7F #49137F
square
#7F1313 #497F13 #137F7F #49137F
split-complementary
#7F1313 #137F49 #13497F
monochromatic
#1B0404 #4A0B0B #7F1313 #B41B1B #E02D2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1313#FFFFFF#000000##FFFFFF
##7F13131.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)
#373011
Deuteranopia (green-blind)
#51480D
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1313;
/* rgb */ color: rgb(127, 19, 19);
/* oklch */ color: oklch(38.6% 0.142 27.1);
Tailwind
colors: {
  custom: {
    50: '#ad5e51',
    500: '#7f1313',
    950: '#000000',
  },
}
SCSS
$custom: #7f1313;
$custom-light: #ad5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1313",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38616,
    "c": 0.14219,
    "h": 27.1
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#7F1313
secondary
#39B4B4
accent
#F1F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1313

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

Preview Lab → · Contrast checker → · Palette generator →

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