#76171B#76171B

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

Color values

HEX#76171B
RGBrgb(118, 23, 27)
HSLhsl(357, 67%, 28%)
HSVhsv(357, 81%, 46%)
CMYKcmyk(0%, 80.5%, 77.1%, 53.7%)
CIE-LABlab(25.40, 40.48, 23.49)
CIE-LCHlch(25.40, 46.80, 30.13°)
OKLaboklab(37.25% 0.1177 0.053)
OKLCHoklch(37.25% 0.129 24.2)
XYZxyz(7.9764, 4.5447, 1.4939)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76171B #177672
analogous
#76174A #76171B #764317
triadic
#76171B #1B7617 #171B76
tetradic
#76171B #4A7617 #177672 #431776
square
#76171B #4A7617 #177672 #431776
split-complementary
#76171B #177643 #174A76
monochromatic
#1A0506 #430D0F #76171B #A92127 #D73138

Accessibility & contrast

On white

11.00
#76171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76171B
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76171B#FFFFFF#000000##FFFFFF
##76171B1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#82001A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #76171b;
/* rgb */ color: rgb(118, 23, 27);
/* oklch */ color: oklch(37.3% 0.129 24.2);
Tailwind
colors: {
  custom: {
    50: '#a55e57',
    500: '#76171b',
    950: '#000000',
  },
}
SCSS
$custom: #76171b;
$custom-light: #a55e57;
$custom-dark: #000000;
JSON
{
  "hex": "#76171b",
  "rgb": {
    "r": 118,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 357.474,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.12903,
    "h": 24.2
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#76171B
secondary
#3EABA7
accent
#EAE33E
background
#FBF5F5
surface
#F5E9E9
border
#CFC5C5
text
#110503
muted
#807978

Preview Lab

Preview with #76171B

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

Preview Lab → · Contrast checker → · Palette generator →

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