#7F1813#7F1813

#7F1813 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 28.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1813
RGBrgb(127, 24, 19)
HSLhsl(3, 74%, 29%)
HSVhsv(3, 85%, 50%)
CMYKcmyk(0%, 81.1%, 85%, 50.2%)
CIE-LABlab(27.34, 42.76, 30.99)
CIE-LCHlch(27.34, 52.81, 35.93°)
OKLaboklab(39.01% 0.1219 0.0659)
OKLCHoklch(39.01% 0.139 28.4)
XYZxyz(9.1977, 5.2138, 1.1380)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1813 #137A7F
analogous
#7F1344 #7F1813 #7F4E13
triadic
#7F1813 #137F18 #18137F
tetradic
#7F1813 #447F13 #137A7F #4E137F
square
#7F1813 #447F13 #137A7F #4E137F
split-complementary
#7F1813 #137F4E #13447F
monochromatic
#1B0504 #4A0E0B #7F1813 #B4221B #E0352D

Accessibility & contrast

On white

10.28
#7F1813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1813
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1813#FFFFFF#000000##FFFFFF
##7F18131.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393211
Deuteranopia (green-blind)
#52490D
Tritanopia (blue-blind)
#8D0018
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1813;
/* rgb */ color: rgb(127, 24, 19);
/* oklch */ color: oklch(39.0% 0.139 28.4);
Tailwind
colors: {
  custom: {
    50: '#ad5f52',
    500: '#7f1813',
    950: '#000000',
  },
}
SCSS
$custom: #7f1813;
$custom-light: #ad5f52;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1813",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 19
  },
  "hsl": {
    "h": 2.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.13859,
    "h": 28.4
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#7F1813
secondary
#39AFB4
accent
#E8F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1813

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

Preview Lab → · Contrast checker → · Palette generator →

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