#7B1A28#7B1A28

#7B1A28 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.131 H 18.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7B1A28
RGBrgb(123, 26, 40)
HSLhsl(351, 65%, 29%)
HSVhsv(351, 79%, 48%)
CMYKcmyk(0%, 78.9%, 67.5%, 51.8%)
CIE-LABlab(27.03, 41.76, 17.17)
CIE-LCHlch(27.03, 45.15, 22.36°)
OKLaboklab(38.72% 0.1241 0.041)
OKLCHoklch(38.72% 0.131 18.3)
XYZxyz(8.9217, 5.1043, 2.5225)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A28 #1A7B6D
analogous
#7B1A59 #7B1A28 #7B3D1A
triadic
#7B1A28 #287B1A #1A287B
tetradic
#7B1A28 #597B1A #1A7B6D #3D1A7B
square
#7B1A28 #597B1A #1A7B6D #3D1A7B
split-complementary
#7B1A28 #1A7B3D #1A597B
monochromatic
#190508 #480F18 #7B1A28 #AE2538 #D53A50

Accessibility & contrast

On white

10.39
#7B1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A28
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A28#FFFFFF#000000##FFFFFF
##7B1A281.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a28;
/* rgb */ color: rgb(123, 26, 40);
/* oklch */ color: oklch(38.7% 0.131 18.3);
Tailwind
colors: {
  custom: {
    50: '#a86061',
    500: '#7b1a28',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a28;
$custom-light: #a86061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a28",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 351.34,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.13069,
    "h": 18.3
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#7B1A28
secondary
#42AF9F
accent
#E8D040
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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