#7B1E2F#7B1E2F

#7B1E2F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.127 H 15.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7B1E2F
RGBrgb(123, 30, 47)
HSLhsl(349, 61%, 30%)
HSVhsv(349, 76%, 48%)
CMYKcmyk(0%, 75.6%, 61.8%, 51.8%)
CIE-LABlab(27.70, 40.77, 13.37)
CIE-LCHlch(27.70, 42.91, 18.16°)
OKLaboklab(39.27% 0.1224 0.0329)
OKLCHoklch(39.27% 0.127 15)
XYZxyz(9.1467, 5.3460, 3.2390)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E2F #1E7B6A
analogous
#7B1E5E #7B1E2F #7B3B1E
triadic
#7B1E2F #2F7B1E #1E2F7B
tetradic
#7B1E2F #5E7B1E #1E7B6A #3B1E7B
square
#7B1E2F #5E7B1E #1E7B6A #3B1E7B
split-complementary
#7B1E2F #1E7B3B #1E5E7B
monochromatic
#190609 #4A121C #7B1E2F #AC2A42 #D1425C

Accessibility & contrast

On white

10.15
#7B1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E2F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E2F#FFFFFF#000000##FFFFFF
##7B1E2F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#4F482D
Tritanopia (blue-blind)
#870225
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e2f;
/* rgb */ color: rgb(123, 30, 47);
/* oklch */ color: oklch(39.3% 0.127 15.0);
Tailwind
colors: {
  custom: {
    50: '#a76267',
    500: '#7b1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e2f;
$custom-light: #a76267;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e2f",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 349.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.12671,
    "h": 15
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#7B1E2F
secondary
#46AE9B
accent
#E4C744
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7B1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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