#7B1F19#7B1F19

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

Color values

HEX#7B1F19
RGBrgb(123, 31, 25)
HSLhsl(4, 66%, 29%)
HSVhsv(4, 80%, 48%)
CMYKcmyk(0%, 74.8%, 79.7%, 51.8%)
CIE-LABlab(27.47, 39.12, 27.32)
CIE-LCHlch(27.47, 47.72, 34.93°)
OKLaboklab(38.98% 0.1123 0.0604)
OKLCHoklch(38.98% 0.127 28.3)
XYZxyz(8.8349, 5.2625, 1.4701)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F19 #19757B
analogous
#7B1944 #7B1F19 #7B5019
triadic
#7B1F19 #197B1F #1F197B
tetradic
#7B1F19 #447B19 #19757B #50197B
square
#7B1F19 #447B19 #19757B #50197B
split-complementary
#7B1F19 #197B50 #19447B
monochromatic
#190605 #48120F #7B1F19 #AE2C23 #D74238

Accessibility & contrast

On white

10.23
#7B1F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F19
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F19#FFFFFF#000000##FFFFFF
##7B1F191.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3417
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1f19;
/* rgb */ color: rgb(123, 31, 25);
/* oklch */ color: oklch(39.0% 0.127 28.3);
Tailwind
colors: {
  custom: {
    50: '#a96256',
    500: '#7b1f19',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f19;
$custom-light: #a96256;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f19",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 3.673,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.12748,
    "h": 28.3
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#7B1F19
secondary
#40A9AF
accent
#DFE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7B1F19

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

Preview Lab → · Contrast checker → · Palette generator →

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