#7F1B13#7F1B13

#7F1B13 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 29.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7F1B13
RGBrgb(127, 27, 19)
HSLhsl(4, 74%, 29%)
HSVhsv(4, 85%, 50%)
CMYKcmyk(0%, 78.7%, 85%, 50.2%)
CIE-LABlab(27.69, 41.76, 31.33)
CIE-LCHlch(27.69, 52.20, 36.88°)
OKLaboklab(39.27% 0.1188 0.0667)
OKLCHoklch(39.27% 0.136 29.3)
XYZxyz(9.2630, 5.3444, 1.1598)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B13 #13777F
analogous
#7F1341 #7F1B13 #7F5113
triadic
#7F1B13 #137F1B #1B137F
tetradic
#7F1B13 #417F13 #13777F #51137F
square
#7F1B13 #417F13 #13777F #51137F
split-complementary
#7F1B13 #137F51 #13417F
monochromatic
#1B0604 #4A100B #7F1B13 #B4261B #E03A2D

Accessibility & contrast

On white

10.15
#7F1B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F1B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B13
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B13#FFFFFF#000000##FFFFFF
##7F1B131.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1b13;
/* rgb */ color: rgb(127, 27, 19);
/* oklch */ color: oklch(39.3% 0.136 29.3);
Tailwind
colors: {
  custom: {
    50: '#ad6152',
    500: '#7f1b13',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b13;
$custom-light: #ad6152;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b13",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 19
  },
  "hsl": {
    "h": 4.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.13621,
    "h": 29.3
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7F1B13
secondary
#39ABB4
accent
#E3F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1B13

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

Preview Lab → · Contrast checker → · Palette generator →

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