#7B1827#7B1827

#7B1827 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 18.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7B1827
RGBrgb(123, 24, 39)
HSLhsl(351, 67%, 29%)
HSVhsv(351, 80%, 48%)
CMYKcmyk(0%, 80.5%, 68.3%, 51.8%)
CIE-LABlab(26.77, 42.38, 17.51)
CIE-LCHlch(26.77, 45.85, 22.45°)
OKLaboklab(38.53% 0.1259 0.0416)
OKLCHoklch(38.53% 0.133 18.3)
XYZxyz(8.8622, 5.0121, 2.4198)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1827 #187B6C
analogous
#7B1859 #7B1827 #7B3B18
triadic
#7B1827 #277B18 #18277B
tetradic
#7B1827 #597B18 #187B6C #3B187B
square
#7B1827 #597B18 #187B6C #3B187B
split-complementary
#7B1827 #187B3B #18597B
monochromatic
#1A0508 #480E17 #7B1827 #AE2237 #D8364E

Accessibility & contrast

On white

10.49
#7B1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1827
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1827#FFFFFF#000000##FFFFFF
##7B18271.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1827;
/* rgb */ color: rgb(123, 24, 39);
/* oklch */ color: oklch(38.5% 0.133 18.3);
Tailwind
colors: {
  custom: {
    50: '#a85f60',
    500: '#7b1827',
    950: '#000000',
  },
}
SCSS
$custom: #7b1827;
$custom-light: #a85f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1827",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 350.909,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.13255,
    "h": 18.3
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#7B1827
secondary
#3FB09F
accent
#EAD03E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1827

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

Preview Lab → · Contrast checker → · Palette generator →

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