#7B1E27#7B1E27

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

Color values

HEX#7B1E27
RGBrgb(123, 30, 39)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 75.6%, 68.3%, 51.8%)
CIE-LABlab(27.54, 40.23, 18.48)
CIE-LCHlch(27.54, 44.27, 24.67°)
OKLaboklab(39.1% 0.119 0.0438)
OKLCHoklch(39.1% 0.127 20.2)
XYZxyz(8.9998, 5.2873, 2.4657)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E27 #1E7B72
analogous
#7B1E55 #7B1E27 #7B441E
triadic
#7B1E27 #277B1E #1E277B
tetradic
#7B1E27 #557B1E #1E7B72 #441E7B
square
#7B1E27 #557B1E #1E7B72 #441E7B
split-complementary
#7B1E27 #1E7B44 #1E557B
monochromatic
#190608 #4A1217 #7B1E27 #AC2A37 #D14250

Accessibility & contrast

On white

10.21
#7B1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E27
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E27#FFFFFF#000000##FFFFFF
##7B1E271.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e27;
/* rgb */ color: rgb(123, 30, 39);
/* oklch */ color: oklch(39.1% 0.127 20.2);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7b1e27',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e27;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e27",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.194,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.12679,
    "h": 20.2
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#7B1E27
secondary
#46AEA4
accent
#E4D444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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