#7B1F27#7B1F27

#7B1F27 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.126 H 20.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7B1F27
RGBrgb(123, 31, 39)
HSLhsl(355, 60%, 30%)
HSVhsv(355, 75%, 48%)
CMYKcmyk(0%, 74.8%, 68.3%, 51.8%)
CIE-LABlab(27.68, 39.84, 18.66)
CIE-LCHlch(27.68, 43.99, 25.10°)
OKLaboklab(39.2% 0.1177 0.0442)
OKLCHoklch(39.2% 0.126 20.6)
XYZxyz(9.0255, 5.3387, 2.4743)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F27 #1F7B73
analogous
#7B1F55 #7B1F27 #7B451F
triadic
#7B1F27 #277B1F #1F277B
tetradic
#7B1F27 #557B1F #1F7B73 #451F7B
square
#7B1F27 #557B1F #1F7B73 #451F7B
split-complementary
#7B1F27 #1F7B45 #1F557B
monochromatic
#190608 #4A1318 #7B1F27 #AC2B36 #D04451

Accessibility & contrast

On white

10.16
#7B1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1F27
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F27#FFFFFF#000000##FFFFFF
##7B1F271.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#870123
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1f27;
/* rgb */ color: rgb(123, 31, 39);
/* oklch */ color: oklch(39.2% 0.126 20.6);
Tailwind
colors: {
  custom: {
    50: '#a86261',
    500: '#7b1f27',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f27;
$custom-light: #a86261;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f27",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 354.783,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.392,
    "c": 0.12577,
    "h": 20.6
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#7B1F27
secondary
#48AEA5
accent
#E3D545
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7B1F27

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

Preview Lab → · Contrast checker → · Palette generator →

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