#7B1D27#7B1D27

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

Color values

HEX#7B1D27
RGBrgb(123, 29, 39)
HSLhsl(354, 62%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 76.4%, 68.3%, 51.8%)
CIE-LABlab(27.40, 40.61, 18.31)
CIE-LCHlch(27.40, 44.55, 24.27°)
OKLaboklab(38.99% 0.1202 0.0434)
OKLCHoklch(38.99% 0.128 19.9)
XYZxyz(8.9749, 5.2375, 2.4574)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D27 #1D7B71
analogous
#7B1D56 #7B1D27 #7B421D
triadic
#7B1D27 #277B1D #1D277B
tetradic
#7B1D27 #567B1D #1D7B71 #421D7B
square
#7B1D27 #567B1D #1D7B71 #421D7B
split-complementary
#7B1D27 #1D7B42 #1D567B
monochromatic
#190608 #491117 #7B1D27 #AD2937 #D24050

Accessibility & contrast

On white

10.26
#7B1D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D27
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D27#FFFFFF#000000##FFFFFF
##7B1D271.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1d27;
/* rgb */ color: rgb(123, 29, 39);
/* oklch */ color: oklch(39.0% 0.128 19.9);
Tailwind
colors: {
  custom: {
    50: '#a86161',
    500: '#7b1d27',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d27;
$custom-light: #a86161;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d27",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 353.617,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.1278,
    "h": 19.9
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#7B1D27
secondary
#45AFA3
accent
#E5D443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1D27

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

Preview Lab → · Contrast checker → · Palette generator →

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