#7B1D23#7B1D23

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

Color values

HEX#7B1D23
RGBrgb(123, 29, 35)
HSLhsl(356, 62%, 30%)
HSVhsv(356, 76%, 48%)
CMYKcmyk(0%, 76.4%, 71.5%, 51.8%)
CIE-LABlab(27.33, 40.38, 20.85)
CIE-LCHlch(27.33, 45.44, 27.31°)
OKLaboklab(38.92% 0.1185 0.0485)
OKLCHoklch(38.92% 0.128 22.3)
XYZxyz(8.9121, 5.2124, 2.1266)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D23 #1D7B75
analogous
#7B1D52 #7B1D23 #7B461D
triadic
#7B1D23 #237B1D #1D237B
tetradic
#7B1D23 #527B1D #1D7B75 #461D7B
square
#7B1D23 #527B1D #1D7B75 #461D7B
split-complementary
#7B1D23 #1D7B46 #1D527B
monochromatic
#190607 #491115 #7B1D23 #AD2931 #D2404A

Accessibility & contrast

On white

10.28
#7B1D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D23
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D23#FFFFFF#000000##FFFFFF
##7B1D231.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383422
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d23;
/* rgb */ color: rgb(123, 29, 35);
/* oklch */ color: oklch(38.9% 0.128 22.3);
Tailwind
colors: {
  custom: {
    50: '#a8615d',
    500: '#7b1d23',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d23;
$custom-light: #a8615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d23",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 356.17,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.12808,
    "h": 22.3
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#7B1D23
secondary
#45AFA8
accent
#E5DB43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7B1D23

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

Preview Lab → · Contrast checker → · Palette generator →

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