#7B1F2C#7B1F2C

#7B1F2C is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.126 H 17.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7B1F2C
RGBrgb(123, 31, 44)
HSLhsl(352, 60%, 30%)
HSVhsv(352, 75%, 48%)
CMYKcmyk(0%, 74.8%, 64.2%, 51.8%)
CIE-LABlab(27.77, 40.17, 15.47)
CIE-LCHlch(27.77, 43.05, 21.07°)
OKLaboklab(39.3% 0.1199 0.0375)
OKLCHoklch(39.3% 0.126 17.4)
XYZxyz(9.1139, 5.3741, 2.9398)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F2C #1F7B6E
analogous
#7B1F5A #7B1F2C #7B401F
triadic
#7B1F2C #2C7B1F #1F2C7B
tetradic
#7B1F2C #5A7B1F #1F7B6E #401F7B
square
#7B1F2C #5A7B1F #1F7B6E #401F7B
split-complementary
#7B1F2C #1F7B40 #1F5A7B
monochromatic
#190609 #4A131B #7B1F2C #AC2B3D #D04458

Accessibility & contrast

On white

10.12
#7B1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F2C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F2C#FFFFFF#000000##FFFFFF
##7B1F2C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352C
Deuteranopia (green-blind)
#4F4929
Tritanopia (blue-blind)
#870324
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1f2c;
/* rgb */ color: rgb(123, 31, 44);
/* oklch */ color: oklch(39.3% 0.126 17.4);
Tailwind
colors: {
  custom: {
    50: '#a76264',
    500: '#7b1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f2c;
$custom-light: #a76264;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f2c",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.522,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39303,
    "c": 0.12558,
    "h": 17.4
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#7B1F2C
secondary
#48AEA0
accent
#E3CD45
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7B1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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