#7B1D2D#7B1D2D

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

Color values

HEX#7B1D2D
RGBrgb(123, 29, 45)
HSLhsl(350, 62%, 30%)
HSVhsv(350, 76%, 48%)
CMYKcmyk(0%, 76.4%, 63.4%, 51.8%)
CIE-LABlab(27.52, 41.01, 14.47)
CIE-LCHlch(27.52, 43.48, 19.44°)
OKLaboklab(39.12% 0.1227 0.0353)
OKLCHoklch(39.12% 0.128 16)
XYZxyz(9.0823, 5.2805, 3.0231)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D2D #1D7B6B
analogous
#7B1D5C #7B1D2D #7B3C1D
triadic
#7B1D2D #2D7B1D #1D2D7B
tetradic
#7B1D2D #5C7B1D #1D7B6B #3C1D7B
square
#7B1D2D #5C7B1D #1D7B6B #3C1D7B
split-complementary
#7B1D2D #1D7B3C #1D5C7B
monochromatic
#190609 #49111B #7B1D2D #AD293F #D24059

Accessibility & contrast

On white

10.22
#7B1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D2D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D2D#FFFFFF#000000##FFFFFF
##7B1D2D1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342D
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d2d;
/* rgb */ color: rgb(123, 29, 45);
/* oklch */ color: oklch(39.1% 0.128 16.0);
Tailwind
colors: {
  custom: {
    50: '#a76165',
    500: '#7b1d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d2d;
$custom-light: #a76165;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d2d",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 349.787,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3912,
    "c": 0.12771,
    "h": 16
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7B1D2D
secondary
#45AF9D
accent
#E5C943
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7B1D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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