#7F1F13#7F1F13

#7F1F13 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.133 H 30.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7F1F13
RGBrgb(127, 31, 19)
HSLhsl(7, 74%, 29%)
HSVhsv(7, 85%, 50%)
CMYKcmyk(0%, 75.6%, 85%, 50.2%)
CIE-LABlab(28.22, 40.29, 31.83)
CIE-LCHlch(28.22, 51.35, 38.31°)
OKLaboklab(39.67% 0.1142 0.0678)
OKLCHoklch(39.67% 0.133 30.7)
XYZxyz(9.3610, 5.5405, 1.1925)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F13 #13737F
analogous
#7F133D #7F1F13 #7F5513
triadic
#7F1F13 #137F1F #1F137F
tetradic
#7F1F13 #3D7F13 #13737F #55137F
square
#7F1F13 #3D7F13 #13737F #55137F
split-complementary
#7F1F13 #137F55 #133D7F
monochromatic
#1B0604 #4A120B #7F1F13 #B42C1B #E0412D

Accessibility & contrast

On white

9.96
#7F1F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F13
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F13#FFFFFF#000000##FFFFFF
##7F1F131.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#544A0E
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1f13;
/* rgb */ color: rgb(127, 31, 19);
/* oklch */ color: oklch(39.7% 0.133 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6252',
    500: '#7f1f13',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f13;
$custom-light: #ac6252;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f13",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 19
  },
  "hsl": {
    "h": 6.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.13279,
    "h": 30.7
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#7F1F13
secondary
#39A7B4
accent
#DCF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1F13

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

Preview Lab → · Contrast checker → · Palette generator →

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