#7B1828#7B1828

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

Color values

HEX#7B1828
RGBrgb(123, 24, 40)
HSLhsl(350, 67%, 29%)
HSVhsv(350, 80%, 48%)
CMYKcmyk(0%, 80.5%, 67.5%, 51.8%)
CIE-LABlab(26.79, 42.44, 16.87)
CIE-LCHlch(26.79, 45.67, 21.67°)
OKLaboklab(38.55% 0.1263 0.0403)
OKLCHoklch(38.55% 0.133 17.7)
XYZxyz(8.8790, 5.0188, 2.5083)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1828 #187B6B
analogous
#7B185A #7B1828 #7B3A18
triadic
#7B1828 #287B18 #18287B
tetradic
#7B1828 #5A7B18 #187B6B #3A187B
square
#7B1828 #5A7B18 #187B6B #3A187B
split-complementary
#7B1828 #187B3A #185A7B
monochromatic
#1A0508 #480E17 #7B1828 #AE2239 #D83650

Accessibility & contrast

On white

10.48
#7B1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1828
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1828#FFFFFF#000000##FFFFFF
##7B18281.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1828;
/* rgb */ color: rgb(123, 24, 40);
/* oklch */ color: oklch(38.5% 0.133 17.7);
Tailwind
colors: {
  custom: {
    50: '#a85f61',
    500: '#7b1828',
    950: '#000000',
  },
}
SCSS
$custom: #7b1828;
$custom-light: #a85f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1828",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 350.303,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38545,
    "c": 0.13254,
    "h": 17.7
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#7B1828
secondary
#3FB09D
accent
#EACE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1828

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

Preview Lab → · Contrast checker → · Palette generator →

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