#7B1D2B#7B1D2B

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

Color values

HEX#7B1D2B
RGBrgb(123, 29, 43)
HSLhsl(351, 62%, 30%)
HSVhsv(351, 76%, 48%)
CMYKcmyk(0%, 76.4%, 65%, 51.8%)
CIE-LABlab(27.48, 40.87, 15.75)
CIE-LCHlch(27.48, 43.80, 21.08°)
OKLaboklab(39.08% 0.1219 0.0381)
OKLCHoklch(39.08% 0.128 17.3)
XYZxyz(9.0447, 5.2654, 2.8251)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D2B #1D7B6D
analogous
#7B1D5A #7B1D2B #7B3E1D
triadic
#7B1D2B #2B7B1D #1D2B7B
tetradic
#7B1D2B #5A7B1D #1D7B6D #3E1D7B
square
#7B1D2B #5A7B1D #1D7B6D #3E1D7B
split-complementary
#7B1D2B #1D7B3E #1D5A7B
monochromatic
#190609 #49111A #7B1D2B #AD293C #D24056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1D2B#FFFFFF#000000##FFFFFF
##7B1D2B1.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)
#37342B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d2b;
/* rgb */ color: rgb(123, 29, 43);
/* oklch */ color: oklch(39.1% 0.128 17.3);
Tailwind
colors: {
  custom: {
    50: '#a76164',
    500: '#7b1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d2b;
$custom-light: #a76164;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d2b",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 351.064,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39076,
    "c": 0.12769,
    "h": 17.3
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#7B1D2B
secondary
#45AF9F
accent
#E5CD43
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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