#7B1D2A#7B1D2A

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

Color values

HEX#7B1D2A
RGBrgb(123, 29, 42)
HSLhsl(352, 62%, 30%)
HSVhsv(352, 76%, 48%)
CMYKcmyk(0%, 76.4%, 65.9%, 51.8%)
CIE-LABlab(27.46, 40.80, 16.39)
CIE-LCHlch(27.46, 43.97, 21.89°)
OKLaboklab(39.06% 0.1215 0.0394)
OKLCHoklch(39.06% 0.128 18)
XYZxyz(9.0266, 5.2582, 2.7297)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D2A #1D7B6E
analogous
#7B1D59 #7B1D2A #7B3F1D
triadic
#7B1D2A #2A7B1D #1D2A7B
tetradic
#7B1D2A #597B1D #1D7B6E #3F1D7B
square
#7B1D2A #597B1D #1D7B6E #3F1D7B
split-complementary
#7B1D2A #1D7B3F #1D597B
monochromatic
#190608 #491119 #7B1D2A #AD293B #D24055

Accessibility & contrast

On white

10.24
#7B1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D2A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D2A#FFFFFF#000000##FFFFFF
##7B1D2A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d2a;
/* rgb */ color: rgb(123, 29, 42);
/* oklch */ color: oklch(39.1% 0.128 18.0);
Tailwind
colors: {
  custom: {
    50: '#a76163',
    500: '#7b1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d2a;
$custom-light: #a76163;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d2a",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 351.702,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.12769,
    "h": 18
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#7B1D2A
secondary
#45AFA0
accent
#E5CF43
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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