#7B1D2F#7B1D2F

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

Color values

HEX#7B1D2F
RGBrgb(123, 29, 47)
HSLhsl(349, 62%, 30%)
HSVhsv(349, 76%, 48%)
CMYKcmyk(0%, 76.4%, 61.8%, 51.8%)
CIE-LABlab(27.56, 41.15, 13.19)
CIE-LCHlch(27.56, 43.21, 17.77°)
OKLaboklab(39.17% 0.1236 0.0324)
OKLCHoklch(39.17% 0.128 14.7)
XYZxyz(9.1217, 5.2962, 3.2307)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D2F #1D7B69
analogous
#7B1D5E #7B1D2F #7B3A1D
triadic
#7B1D2F #2F7B1D #1D2F7B
tetradic
#7B1D2F #5E7B1D #1D7B69 #3A1D7B
square
#7B1D2F #5E7B1D #1D7B69 #3A1D7B
split-complementary
#7B1D2F #1D7B3A #1D5E7B
monochromatic
#190609 #49111C #7B1D2F #AD2942 #D2405C

Accessibility & contrast

On white

10.20
#7B1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D2F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D2F#FFFFFF#000000##FFFFFF
##7B1D2F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36352F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d2f;
/* rgb */ color: rgb(123, 29, 47);
/* oklch */ color: oklch(39.2% 0.128 14.7);
Tailwind
colors: {
  custom: {
    50: '#a76167',
    500: '#7b1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d2f;
$custom-light: #a76167;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d2f",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 348.511,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.12777,
    "h": 14.7
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#7B1D2F
secondary
#45AF9A
accent
#E5C643
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7B1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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