#7B1C28#7B1C28

#7B1C28 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.129 H 18.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7B1C28
RGBrgb(123, 28, 40)
HSLhsl(352, 63%, 30%)
HSVhsv(352, 77%, 48%)
CMYKcmyk(0%, 77.2%, 67.5%, 51.8%)
CIE-LABlab(27.29, 41.05, 17.50)
CIE-LCHlch(27.29, 44.62, 23.09°)
OKLaboklab(38.91% 0.1218 0.0417)
OKLCHoklch(38.91% 0.129 18.9)
XYZxyz(8.9676, 5.1960, 2.5378)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C28 #1C7B6F
analogous
#7B1C58 #7B1C28 #7B401C
triadic
#7B1C28 #287B1C #1C287B
tetradic
#7B1C28 #587B1C #1C7B6F #401C7B
square
#7B1C28 #587B1C #1C7B6F #401C7B
split-complementary
#7B1C28 #1C7B40 #1C587B
monochromatic
#190608 #491118 #7B1C28 #AD2738 #D33E51

Accessibility & contrast

On white

10.30
#7B1C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C28
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C28#FFFFFF#000000##FFFFFF
##7B1C281.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1c28;
/* rgb */ color: rgb(123, 28, 40);
/* oklch */ color: oklch(38.9% 0.129 18.9);
Tailwind
colors: {
  custom: {
    50: '#a86161',
    500: '#7b1c28',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c28;
$custom-light: #a86161;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c28",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 352.421,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.12875,
    "h": 18.9
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#7B1C28
secondary
#44AFA1
accent
#E6D142
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1C28

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

Preview Lab → · Contrast checker → · Palette generator →

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