#7B1A2D#7B1A2D

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

Color values

HEX#7B1A2D
RGBrgb(123, 26, 45)
HSLhsl(348, 65%, 29%)
HSVhsv(348, 79%, 48%)
CMYKcmyk(0%, 78.9%, 63.4%, 51.8%)
CIE-LABlab(27.13, 42.09, 13.96)
CIE-LCHlch(27.13, 44.34, 18.35°)
OKLaboklab(38.83% 0.1262 0.0341)
OKLCHoklch(38.83% 0.131 15.1)
XYZxyz(9.0124, 5.1405, 2.9998)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A2D #1A7B68
analogous
#7B1A5E #7B1A2D #7B371A
triadic
#7B1A2D #2D7B1A #1A2D7B
tetradic
#7B1A2D #5E7B1A #1A7B68 #371A7B
square
#7B1A2D #5E7B1A #1A7B68 #371A7B
split-complementary
#7B1A2D #1A7B37 #1A5E7B
monochromatic
#190509 #480F1B #7B1A2D #AE253F #D53A58

Accessibility & contrast

On white

10.36
#7B1A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A2D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A2D#FFFFFF#000000##FFFFFF
##7B1A2D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4E472A
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1a2d;
/* rgb */ color: rgb(123, 26, 45);
/* oklch */ color: oklch(38.8% 0.131 15.1);
Tailwind
colors: {
  custom: {
    50: '#a76065',
    500: '#7b1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a2d;
$custom-light: #a76065;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a2d",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 348.247,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.13074,
    "h": 15.1
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#7B1A2D
secondary
#42AF9A
accent
#E8C740
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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