#7B1C2F#7B1C2F

#7B1C2F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.129 H 14.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7B1C2F
RGBrgb(123, 28, 47)
HSLhsl(348, 63%, 30%)
HSVhsv(348, 77%, 48%)
CMYKcmyk(0%, 77.2%, 61.8%, 51.8%)
CIE-LABlab(27.43, 41.52, 13.01)
CIE-LCHlch(27.43, 43.51, 17.40°)
OKLaboklab(39.07% 0.1248 0.032)
OKLCHoklch(39.07% 0.129 14.4)
XYZxyz(9.0976, 5.2480, 3.2227)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C2F #1C7B68
analogous
#7B1C5F #7B1C2F #7B391C
triadic
#7B1C2F #2F7B1C #1C2F7B
tetradic
#7B1C2F #5F7B1C #1C7B68 #391C7B
square
#7B1C2F #5F7B1C #1C7B68 #391C7B
split-complementary
#7B1C2F #1C7B39 #1C5F7B
monochromatic
#19060A #49111C #7B1C2F #AD2742 #D33E5C

Accessibility & contrast

On white

10.25
#7B1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C2F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C2F#FFFFFF#000000##FFFFFF
##7B1C2F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1c2f;
/* rgb */ color: rgb(123, 28, 47);
/* oklch */ color: oklch(39.1% 0.129 14.4);
Tailwind
colors: {
  custom: {
    50: '#a76167',
    500: '#7b1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c2f;
$custom-light: #a76167;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c2f",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 348,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.12882,
    "h": 14.4
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#7B1C2F
secondary
#44AF99
accent
#E6C542
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7B1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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