#7B1528#7B1528

#7B1528 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.135 H 16.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#7B1528
RGBrgb(123, 21, 40)
HSLhsl(349, 71%, 28%)
HSVhsv(349, 83%, 48%)
CMYKcmyk(0%, 82.9%, 67.5%, 51.8%)
CIE-LABlab(26.45, 43.38, 16.44)
CIE-LCHlch(26.45, 46.39, 20.75°)
OKLaboklab(38.3% 0.1293 0.0393)
OKLCHoklch(38.3% 0.135 16.9)
XYZxyz(8.8205, 4.9018, 2.4888)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1528 #157B68
analogous
#7B155B #7B1528 #7B3515
triadic
#7B1528 #287B15 #15287B
tetradic
#7B1528 #5B7B15 #157B68 #35157B
square
#7B1528 #5B7B15 #157B68 #35157B
split-complementary
#7B1528 #157B35 #155B7B
monochromatic
#1A0408 #470C17 #7B1528 #AF1E39 #DB2F4F

Accessibility & contrast

On white

10.61
#7B1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B1528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1528
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1528#FFFFFF#000000##FFFFFF
##7B15281.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333128
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#88001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1528;
/* rgb */ color: rgb(123, 21, 40);
/* oklch */ color: oklch(38.3% 0.135 16.9);
Tailwind
colors: {
  custom: {
    50: '#a85e61',
    500: '#7b1528',
    950: '#000000',
  },
}
SCSS
$custom: #7b1528;
$custom-light: #a85e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1528",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 348.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.13515,
    "h": 16.9
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#7B1528
secondary
#3BB09B
accent
#EECC3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1528

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

Preview Lab → · Contrast checker → · Palette generator →

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