#7B1728#7B1728

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

Color values

HEX#7B1728
RGBrgb(123, 23, 40)
HSLhsl(350, 68%, 29%)
HSVhsv(350, 81%, 48%)
CMYKcmyk(0%, 81.3%, 67.5%, 51.8%)
CIE-LABlab(26.67, 42.76, 16.72)
CIE-LCHlch(26.67, 45.91, 21.35°)
OKLaboklab(38.46% 0.1273 0.0399)
OKLCHoklch(38.46% 0.133 17.4)
XYZxyz(8.8587, 4.9783, 2.5015)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1728 #177B6A
analogous
#7B175A #7B1728 #7B3817
triadic
#7B1728 #287B17 #17287B
tetradic
#7B1728 #5A7B17 #177B6A #38177B
square
#7B1728 #5A7B17 #177B6A #38177B
split-complementary
#7B1728 #177B38 #175A7B
monochromatic
#1A0508 #470D17 #7B1728 #AF2139 #D93350

Accessibility & contrast

On white

10.52
#7B1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1728
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1728#FFFFFF#000000##FFFFFF
##7B17281.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1728;
/* rgb */ color: rgb(123, 23, 40);
/* oklch */ color: oklch(38.5% 0.133 17.4);
Tailwind
colors: {
  custom: {
    50: '#a85f61',
    500: '#7b1728',
    950: '#000000',
  },
}
SCSS
$custom: #7b1728;
$custom-light: #a85f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1728",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 349.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.13343,
    "h": 17.4
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#7B1728
secondary
#3EB09D
accent
#EBCE3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7B1728

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

Preview Lab → · Contrast checker → · Palette generator →

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