#7B1F17#7B1F17

#7B1F17 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.128 H 29.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7B1F17
RGBrgb(123, 31, 23)
HSLhsl(5, 68%, 29%)
HSVhsv(5, 81%, 48%)
CMYKcmyk(0%, 74.8%, 81.3%, 51.8%)
CIE-LABlab(27.45, 39.05, 28.50)
CIE-LCHlch(27.45, 48.34, 36.12°)
OKLaboklab(38.95% 0.1116 0.0623)
OKLCHoklch(38.95% 0.128 29.2)
XYZxyz(8.8141, 5.2541, 1.3605)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F17 #17737B
analogous
#7B1741 #7B1F17 #7B5117
triadic
#7B1F17 #177B1F #1F177B
tetradic
#7B1F17 #417B17 #17737B #51177B
square
#7B1F17 #417B17 #17737B #51177B
split-complementary
#7B1F17 #177B51 #17417B
monochromatic
#1A0605 #47120D #7B1F17 #AF2C21 #D94133

Accessibility & contrast

On white

10.24
#7B1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F17
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F17#FFFFFF#000000##FFFFFF
##7B1F171.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#88001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1f17;
/* rgb */ color: rgb(123, 31, 23);
/* oklch */ color: oklch(39.0% 0.128 29.2);
Tailwind
colors: {
  custom: {
    50: '#a96255',
    500: '#7b1f17',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f17;
$custom-light: #a96255;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f17",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.1278,
    "h": 29.2
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#7B1F17
secondary
#3EA7B0
accent
#DDEB3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7B1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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