#7A1B2D#7A1B2D

#7A1B2D is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.129 H 15.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7A1B2D
RGBrgb(122, 27, 45)
HSLhsl(349, 64%, 29%)
HSVhsv(349, 78%, 48%)
CMYKcmyk(0%, 77.9%, 63.1%, 52.2%)
CIE-LABlab(27.05, 41.42, 13.82)
CIE-LCHlch(27.05, 43.66, 18.45°)
OKLaboklab(38.74% 0.1242 0.0338)
OKLCHoklch(38.74% 0.129 15.2)
XYZxyz(8.8925, 5.1122, 3.0006)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2D #1B7A68
analogous
#7A1B5D #7A1B2D #7A391B
triadic
#7A1B2D #2D7A1B #1B2D7A
tetradic
#7A1B2D #5D7A1B #1B7A68 #391B7A
square
#7A1B2D #5D7A1B #1B7A68 #391B7A
split-complementary
#7A1B2D #1B7A39 #1B5D7A
monochromatic
#190609 #48101B #7A1B2D #AC263F #D43C58

Accessibility & contrast

On white

10.38
#7A1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B2D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B2D#FFFFFF#000000##FFFFFF
##7A1B2D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b2d;
/* rgb */ color: rgb(122, 27, 45);
/* oklch */ color: oklch(38.7% 0.129 15.2);
Tailwind
colors: {
  custom: {
    50: '#a76065',
    500: '#7a1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2d;
$custom-light: #a76065;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2d",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 348.632,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.1287,
    "h": 15.2
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#7A1B2D
secondary
#43AE9A
accent
#E7C741
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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