#7B1B31#7B1B31

#7B1B31 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.130 H 12.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7B1B31
RGBrgb(123, 27, 49)
HSLhsl(346, 64%, 29%)
HSVhsv(346, 78%, 48%)
CMYKcmyk(0%, 78%, 60.2%, 51.8%)
CIE-LABlab(27.35, 42.03, 11.56)
CIE-LCHlch(27.35, 43.59, 15.38°)
OKLaboklab(39.02% 0.1268 0.0287)
OKLCHoklch(39.02% 0.13 12.8)
XYZxyz(9.1156, 5.2179, 3.4323)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B31 #1B7B65
analogous
#7B1B61 #7B1B31 #7B351B
triadic
#7B1B31 #317B1B #1B317B
tetradic
#7B1B31 #617B1B #1B7B65 #351B7B
square
#7B1B31 #617B1B #1B7B65 #351B7B
split-complementary
#7B1B31 #1B7B35 #1B617B
monochromatic
#19060A #49101D #7B1B31 #AD2645 #D43C5F

Accessibility & contrast

On white

10.28
#7B1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1B31
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B31#FFFFFF#000000##FFFFFF
##7B1B311.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1b31;
/* rgb */ color: rgb(123, 27, 49);
/* oklch */ color: oklch(39.0% 0.130 12.8);
Tailwind
colors: {
  custom: {
    50: '#a76168',
    500: '#7b1b31',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b31;
$custom-light: #a76168;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b31",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 346.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.12999,
    "h": 12.8
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#7B1B31
secondary
#43AF96
accent
#E7C141
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7B1B31

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

Preview Lab → · Contrast checker → · Palette generator →

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