#7F1310#7F1310

#7F1310 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.143 H 28.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7F1310
RGBrgb(127, 19, 16)
HSLhsl(2, 78%, 28%)
HSVhsv(2, 87%, 50%)
CMYKcmyk(0%, 85%, 87.4%, 50.2%)
CIE-LABlab(26.78, 44.16, 32.16)
CIE-LCHlch(26.78, 54.63, 36.06°)
OKLaboklab(38.59% 0.1257 0.0672)
OKLCHoklch(38.59% 0.143 28.1)
XYZxyz(9.0799, 5.0167, 0.9803)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1310 #107C7F
analogous
#7F1044 #7F1310 #7F4B10
triadic
#7F1310 #107F13 #13107F
tetradic
#7F1310 #447F10 #107C7F #4B107F
square
#7F1310 #447F10 #107C7F #4B107F
split-complementary
#7F1310 #107F4B #10447F
monochromatic
#1B0403 #490B09 #7F1310 #B51B17 #E42B26

Accessibility & contrast

On white

10.48
#7F1310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1310
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1310#FFFFFF#000000##FFFFFF
##7F13101.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300E
Deuteranopia (green-blind)
#514809
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1310;
/* rgb */ color: rgb(127, 19, 16);
/* oklch */ color: oklch(38.6% 0.143 28.1);
Tailwind
colors: {
  custom: {
    50: '#ad5d4f',
    500: '#7f1310',
    950: '#000000',
  },
}
SCSS
$custom: #7f1310;
$custom-light: #ad5d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1310",
  "rgb": {
    "r": 127,
    "g": 19,
    "b": 16
  },
  "hsl": {
    "h": 1.622,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.14254,
    "h": 28.1
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#7F1310
secondary
#36B2B5
accent
#EFF434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1310

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

Preview Lab → · Contrast checker → · Palette generator →

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