#76171F#76171F

#76171F is a dark, vivid red. Relative luminance 0.046; OKLCH L 37.3% C 0.129 H 22.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#76171F
RGBrgb(118, 23, 31)
HSLhsl(355, 67%, 28%)
HSVhsv(355, 81%, 46%)
CMYKcmyk(0%, 80.5%, 73.7%, 53.7%)
CIE-LABlab(25.46, 40.67, 20.96)
CIE-LCHlch(25.46, 45.75, 27.27°)
OKLaboklab(37.32% 0.1192 0.0483)
OKLCHoklch(37.32% 0.129 22)
XYZxyz(8.0258, 4.5645, 1.7545)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76171F #17766E
analogous
#76174F #76171F #763E17
triadic
#76171F #1F7617 #171F76
tetradic
#76171F #4F7617 #17766E #3E1776
square
#76171F #4F7617 #17766E #3E1776
split-complementary
#76171F #17763E #174F76
monochromatic
#1A0507 #430D12 #76171F #A9212C #D7313F

Accessibility & contrast

On white

10.98
#76171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#76171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76171F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76171F#FFFFFF#000000##FFFFFF
##76171F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1E
Deuteranopia (green-blind)
#4B441C
Tritanopia (blue-blind)
#82001B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #76171f;
/* rgb */ color: rgb(118, 23, 31);
/* oklch */ color: oklch(37.3% 0.129 22.0);
Tailwind
colors: {
  custom: {
    50: '#a55e5a',
    500: '#76171f',
    950: '#000000',
  },
}
SCSS
$custom: #76171f;
$custom-light: #a55e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#76171f",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 354.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.12864,
    "h": 22
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#76171F
secondary
#3EABA2
accent
#EADC3E
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#110503
muted
#807978

Preview Lab

Preview with #76171F

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

Preview Lab → · Contrast checker → · Palette generator →

#76171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva