#7A1D2B#7A1D2B

#7A1D2B is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.127 H 17.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7A1D2B
RGBrgb(122, 29, 43)
HSLhsl(351, 62%, 30%)
HSVhsv(351, 76%, 48%)
CMYKcmyk(0%, 76.2%, 64.8%, 52.2%)
CIE-LABlab(27.27, 40.54, 15.45)
CIE-LCHlch(27.27, 43.38, 20.86°)
OKLaboklab(38.89% 0.121 0.0374)
OKLCHoklch(38.89% 0.127 17.2)
XYZxyz(8.9024, 5.1920, 2.8184)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D2B #1D7A6C
analogous
#7A1D59 #7A1D2B #7A3E1D
triadic
#7A1D2B #2B7A1D #1D2B7A
tetradic
#7A1D2B #597A1D #1D7A6C #3E1D7A
square
#7A1D2B #597A1D #1D7A6C #3E1D7A
split-complementary
#7A1D2B #1D7A3E #1D597A
monochromatic
#190609 #49111A #7A1D2B #AB293C #D24056

Accessibility & contrast

On white

10.30
#7A1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D2B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D2B#FFFFFF#000000##FFFFFF
##7A1D2B1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342B
Deuteranopia (green-blind)
#4E4828
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d2b;
/* rgb */ color: rgb(122, 29, 43);
/* oklch */ color: oklch(38.9% 0.127 17.2);
Tailwind
colors: {
  custom: {
    50: '#a76164',
    500: '#7a1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d2b;
$custom-light: #a76164;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d2b",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 350.968,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.12661,
    "h": 17.2
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#7A1D2B
secondary
#45AE9E
accent
#E5CC43
background
#FAF6F5
surface
#F5EBEA
border
#CFC6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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