#7B1427#7B1427

#7B1427 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.136 H 17.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#7B1427
RGBrgb(123, 20, 39)
HSLhsl(349, 72%, 28%)
HSVhsv(349, 84%, 48%)
CMYKcmyk(0%, 83.7%, 68.3%, 51.8%)
CIE-LABlab(26.33, 43.62, 16.95)
CIE-LCHlch(26.33, 46.80, 21.23°)
OKLaboklab(38.2% 0.1298 0.0403)
OKLCHoklch(38.2% 0.136 17.3)
XYZxyz(8.7857, 4.8591, 2.3944)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1427 #147B68
analogous
#7B145A #7B1427 #7B3414
triadic
#7B1427 #277B14 #14277B
tetradic
#7B1427 #5A7B14 #147B68 #34147B
square
#7B1427 #5A7B14 #147B68 #34147B
split-complementary
#7B1427 #147B34 #145A7B
monochromatic
#1A0408 #460B16 #7B1427 #B01D38 #DD2D4D

Accessibility & contrast

On white

10.65
#7B1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7B1427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1427
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1427#FFFFFF#000000##FFFFFF
##7B14271.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333127
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#88001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b1427;
/* rgb */ color: rgb(123, 20, 39);
/* oklch */ color: oklch(38.2% 0.136 17.3);
Tailwind
colors: {
  custom: {
    50: '#a85e60',
    500: '#7b1427',
    950: '#000000',
  },
}
SCSS
$custom: #7b1427;
$custom-light: #a85e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1427",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 348.932,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.13596,
    "h": 17.3
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#7B1427
secondary
#3AB19B
accent
#EFCD39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1427

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

Preview Lab → · Contrast checker → · Palette generator →

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