#7F1710#7F1710

#7F1710 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.140 H 29.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7F1710
RGBrgb(127, 23, 16)
HSLhsl(4, 78%, 28%)
HSVhsv(4, 87%, 50%)
CMYKcmyk(0%, 81.9%, 87.4%, 50.2%)
CIE-LABlab(27.20, 42.99, 32.52)
CIE-LCHlch(27.20, 53.91, 37.11°)
OKLaboklab(38.9% 0.122 0.0681)
OKLCHoklch(38.9% 0.14 29.2)
XYZxyz(9.1535, 5.1637, 1.0049)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1710 #10787F
analogous
#7F1040 #7F1710 #7F4E10
triadic
#7F1710 #107F17 #17107F
tetradic
#7F1710 #407F10 #10787F #4E107F
square
#7F1710 #407F10 #10787F #4E107F
split-complementary
#7F1710 #107F4E #10407F
monochromatic
#1B0503 #490D09 #7F1710 #B52117 #E43226

Accessibility & contrast

On white

10.33
#7F1710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1710
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1710#FFFFFF#000000##FFFFFF
##7F17101.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320E
Deuteranopia (green-blind)
#524809
Tritanopia (blue-blind)
#8D0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1710;
/* rgb */ color: rgb(127, 23, 16);
/* oklch */ color: oklch(38.9% 0.140 29.2);
Tailwind
colors: {
  custom: {
    50: '#ad5f50',
    500: '#7f1710',
    950: '#000000',
  },
}
SCSS
$custom: #7f1710;
$custom-light: #ad5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1710",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 16
  },
  "hsl": {
    "h": 3.784,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.13974,
    "h": 29.2
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#7F1710
secondary
#36ADB5
accent
#E8F434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1710

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

Preview Lab → · Contrast checker → · Palette generator →

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