#7B1B2F#7B1B2F

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

Color values

HEX#7B1B2F
RGBrgb(123, 27, 47)
HSLhsl(348, 64%, 29%)
HSVhsv(348, 78%, 48%)
CMYKcmyk(0%, 78%, 61.8%, 51.8%)
CIE-LABlab(27.30, 41.88, 12.84)
CIE-LCHlch(27.30, 43.80, 17.05°)
OKLaboklab(38.97% 0.1259 0.0316)
OKLCHoklch(38.97% 0.13 14.1)
XYZxyz(9.0743, 5.2014, 3.2149)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1B2F #1B7B67
analogous
#7B1B5F #7B1B2F #7B371B
triadic
#7B1B2F #2F7B1B #1B2F7B
tetradic
#7B1B2F #5F7B1B #1B7B67 #371B7B
square
#7B1B2F #5F7B1B #1B7B67 #371B7B
split-complementary
#7B1B2F #1B7B37 #1B5F7B
monochromatic
#19060A #49101C #7B1B2F #AD2642 #D43C5C

Accessibility & contrast

On white

10.29
#7B1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1B2F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1B2F#FFFFFF#000000##FFFFFF
##7B1B2F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#870023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1b2f;
/* rgb */ color: rgb(123, 27, 47);
/* oklch */ color: oklch(39.0% 0.130 14.1);
Tailwind
colors: {
  custom: {
    50: '#a76167',
    500: '#7b1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1b2f;
$custom-light: #a76167;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1b2f",
  "rgb": {
    "r": 123,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.12985,
    "h": 14.1
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#7B1B2F
secondary
#43AF98
accent
#E7C441
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7B1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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