#7B1E28#7B1E28

#7B1E28 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.127 H 19.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7B1E28
RGBrgb(123, 30, 40)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 75.6%, 67.5%, 51.8%)
CIE-LABlab(27.56, 40.29, 17.85)
CIE-LCHlch(27.56, 44.07, 23.89°)
OKLaboklab(39.12% 0.1194 0.0425)
OKLCHoklch(39.12% 0.127 19.6)
XYZxyz(9.0166, 5.2940, 2.5541)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E28 #1E7B71
analogous
#7B1E57 #7B1E28 #7B421E
triadic
#7B1E28 #287B1E #1E287B
tetradic
#7B1E28 #577B1E #1E7B71 #421E7B
square
#7B1E28 #577B1E #1E7B71 #421E7B
split-complementary
#7B1E28 #1E7B42 #1E577B
monochromatic
#190608 #4A1218 #7B1E28 #AC2A38 #D14252

Accessibility & contrast

On white

10.20
#7B1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E28
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E28#FFFFFF#000000##FFFFFF
##7B1E281.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383528
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#870022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1e28;
/* rgb */ color: rgb(123, 30, 40);
/* oklch */ color: oklch(39.1% 0.127 19.6);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7b1e28',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e28;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e28",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.548,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.12673,
    "h": 19.6
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#7B1E28
secondary
#46AEA3
accent
#E4D344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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