#7B1B2D#7B1B2D

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

Color values

HEX#7B1B2D
RGBrgb(123, 27, 45)
HSLhsl(349, 64%, 29%)
HSVhsv(349, 78%, 48%)
CMYKcmyk(0%, 78%, 63.4%, 51.8%)
CIE-LABlab(27.26, 41.74, 14.13)
CIE-LCHlch(27.26, 44.06, 18.70°)
OKLaboklab(38.92% 0.1251 0.0345)
OKLCHoklch(38.92% 0.13 15.4)
XYZxyz(9.0349, 5.1856, 3.0073)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B2D #1B7B69
analogous
#7B1B5D #7B1B2D #7B391B
triadic
#7B1B2D #2D7B1B #1B2D7B
tetradic
#7B1B2D #5D7B1B #1B7B69 #391B7B
square
#7B1B2D #5D7B1B #1B7B69 #391B7B
split-complementary
#7B1B2D #1B7B39 #1B5D7B
monochromatic
#190609 #49101B #7B1B2D #AD263F #D43C59

Accessibility & contrast

On white

10.31
#7B1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B2D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B2D#FFFFFF#000000##FFFFFF
##7B1B2D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1b2d;
/* rgb */ color: rgb(123, 27, 45);
/* oklch */ color: oklch(38.9% 0.130 15.4);
Tailwind
colors: {
  custom: {
    50: '#a76165',
    500: '#7b1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b2d;
$custom-light: #a76165;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b2d",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 348.75,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.12975,
    "h": 15.4
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7B1B2D
secondary
#43AF9B
accent
#E7C841
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7B1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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