#7F1A13#7F1A13

#7F1A13 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 29.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7F1A13
RGBrgb(127, 26, 19)
HSLhsl(4, 74%, 29%)
HSVhsv(4, 85%, 50%)
CMYKcmyk(0%, 79.5%, 85%, 50.2%)
CIE-LABlab(27.57, 42.10, 31.21)
CIE-LCHlch(27.57, 52.41, 36.55°)
OKLaboklab(39.18% 0.1198 0.0664)
OKLCHoklch(39.18% 0.137 29)
XYZxyz(9.2405, 5.2993, 1.1523)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1A13 #13787F
analogous
#7F1342 #7F1A13 #7F5013
triadic
#7F1A13 #137F1A #1A137F
tetradic
#7F1A13 #427F13 #13787F #50137F
square
#7F1A13 #427F13 #13787F #50137F
split-complementary
#7F1A13 #137F50 #13427F
monochromatic
#1B0504 #4A0F0B #7F1A13 #B4251B #E0382D

Accessibility & contrast

On white

10.20
#7F1A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1A13
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1A13#FFFFFF#000000##FFFFFF
##7F1A131.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3311
Deuteranopia (green-blind)
#52490E
Tritanopia (blue-blind)
#8D001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1a13;
/* rgb */ color: rgb(127, 26, 19);
/* oklch */ color: oklch(39.2% 0.137 29.0);
Tailwind
colors: {
  custom: {
    50: '#ad6052',
    500: '#7f1a13',
    950: '#000000',
  },
}
SCSS
$custom: #7f1a13;
$custom-light: #ad6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1a13",
  "rgb": {
    "r": 127,
    "g": 26,
    "b": 19
  },
  "hsl": {
    "h": 3.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.13702,
    "h": 29
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#7F1A13
secondary
#39ACB4
accent
#E5F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1A13

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

Preview Lab → · Contrast checker → · Palette generator →

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