#7B1928#7B1928

#7B1928 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.132 H 18.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7B1928
RGBrgb(123, 25, 40)
HSLhsl(351, 66%, 29%)
HSVhsv(351, 80%, 48%)
CMYKcmyk(0%, 79.7%, 67.5%, 51.8%)
CIE-LABlab(26.91, 42.10, 17.02)
CIE-LCHlch(26.91, 45.41, 22.01°)
OKLaboklab(38.63% 0.1252 0.0406)
OKLCHoklch(38.63% 0.132 18)
XYZxyz(8.9000, 5.0608, 2.5153)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1928 #197B6C
analogous
#7B1959 #7B1928 #7B3B19
triadic
#7B1928 #287B19 #19287B
tetradic
#7B1928 #597B19 #197B6C #3B197B
square
#7B1928 #597B19 #197B6C #3B197B
split-complementary
#7B1928 #197B3B #19597B
monochromatic
#190508 #480F17 #7B1928 #AE2339 #D73850

Accessibility & contrast

On white

10.44
#7B1928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1928
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1928#FFFFFF#000000##FFFFFF
##7B19281.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1928;
/* rgb */ color: rgb(123, 25, 40);
/* oklch */ color: oklch(38.6% 0.132 18.0);
Tailwind
colors: {
  custom: {
    50: '#a86061',
    500: '#7b1928',
    950: '#000000',
  },
}
SCSS
$custom: #7b1928;
$custom-light: #a86061;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1928",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 350.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.13162,
    "h": 18
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#7B1928
secondary
#40AF9E
accent
#E9CF3F
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1928

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

Preview Lab → · Contrast checker → · Palette generator →

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