#7A1D2E#7A1D2E

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

Color values

HEX#7A1D2E
RGBrgb(122, 29, 46)
HSLhsl(349, 62%, 30%)
HSVhsv(349, 76%, 48%)
CMYKcmyk(0%, 76.2%, 62.3%, 52.2%)
CIE-LABlab(27.34, 40.75, 13.53)
CIE-LCHlch(27.34, 42.94, 18.36°)
OKLaboklab(38.96% 0.1223 0.0332)
OKLCHoklch(38.96% 0.127 15.2)
XYZxyz(8.9594, 5.2149, 3.1190)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D2E #1D7A69
analogous
#7A1D5D #7A1D2E #7A3B1D
triadic
#7A1D2E #2E7A1D #1D2E7A
tetradic
#7A1D2E #5D7A1D #1D7A69 #3B1D7A
square
#7A1D2E #5D7A1D #1D7A69 #3B1D7A
split-complementary
#7A1D2E #1D7A3B #1D5D7A
monochromatic
#190609 #49111B #7A1D2E #AB2941 #D2405A

Accessibility & contrast

On white

10.28
#7A1D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D2E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D2E#FFFFFF#000000##FFFFFF
##7A1D2E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d2e;
/* rgb */ color: rgb(122, 29, 46);
/* oklch */ color: oklch(39.0% 0.127 15.2);
Tailwind
colors: {
  custom: {
    50: '#a66166',
    500: '#7a1d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d2e;
$custom-light: #a66166;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d2e",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 349.032,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.12667,
    "h": 15.2
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#7A1D2E
secondary
#45AE9B
accent
#E5C743
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #7A1D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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