#7B1A2F#7B1A2F

#7B1A2F is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.131 H 13.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7B1A2F
RGBrgb(123, 26, 47)
HSLhsl(347, 65%, 29%)
HSVhsv(347, 79%, 48%)
CMYKcmyk(0%, 78.9%, 61.8%, 51.8%)
CIE-LABlab(27.18, 42.23, 12.67)
CIE-LCHlch(27.18, 44.09, 16.70°)
OKLaboklab(38.88% 0.1271 0.0312)
OKLCHoklch(38.88% 0.131 13.8)
XYZxyz(9.0518, 5.1563, 3.2074)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A2F #1A7B66
analogous
#7B1A60 #7B1A2F #7B351A
triadic
#7B1A2F #2F7B1A #1A2F7B
tetradic
#7B1A2F #607B1A #1A7B66 #351A7B
square
#7B1A2F #607B1A #1A7B66 #351A7B
split-complementary
#7B1A2F #1A7B35 #1A607B
monochromatic
#19050A #480F1C #7B1A2F #AE2542 #D53A5C

Accessibility & contrast

On white

10.34
#7B1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A2F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A2F#FFFFFF#000000##FFFFFF
##7B1A2F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a2f;
/* rgb */ color: rgb(123, 26, 47);
/* oklch */ color: oklch(38.9% 0.131 13.8);
Tailwind
colors: {
  custom: {
    50: '#a76067',
    500: '#7b1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a2f;
$custom-light: #a76067;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a2f",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 347.01,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.13085,
    "h": 13.8
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#7B1A2F
secondary
#42AF98
accent
#E8C440
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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