#7F1D13#7F1D13

#7F1D13 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.135 H 30.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7F1D13
RGBrgb(127, 29, 19)
HSLhsl(6, 74%, 29%)
HSVhsv(6, 85%, 50%)
CMYKcmyk(0%, 77.2%, 85%, 50.2%)
CIE-LABlab(27.95, 41.04, 31.57)
CIE-LCHlch(27.95, 51.78, 37.57°)
OKLaboklab(39.47% 0.1165 0.0672)
OKLCHoklch(39.47% 0.135 30)
XYZxyz(9.3104, 5.4392, 1.1756)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D13 #13757F
analogous
#7F133F #7F1D13 #7F5313
triadic
#7F1D13 #137F1D #1D137F
tetradic
#7F1D13 #3F7F13 #13757F #53137F
square
#7F1D13 #3F7F13 #13757F #53137F
split-complementary
#7F1D13 #137F53 #133F7F
monochromatic
#1B0604 #4A110B #7F1D13 #B4291B #E03D2D

Accessibility & contrast

On white

10.06
#7F1D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D13
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D13#FFFFFF#000000##FFFFFF
##7F1D131.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3411
Deuteranopia (green-blind)
#534A0E
Tritanopia (blue-blind)
#8D001C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d13;
/* rgb */ color: rgb(127, 29, 19);
/* oklch */ color: oklch(39.5% 0.135 30.0);
Tailwind
colors: {
  custom: {
    50: '#ac6152',
    500: '#7f1d13',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d13;
$custom-light: #ac6152;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d13",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 19
  },
  "hsl": {
    "h": 5.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39465,
    "c": 0.13453,
    "h": 30
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#7F1D13
secondary
#39A9B4
accent
#DFF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1D13

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

Preview Lab → · Contrast checker → · Palette generator →

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