#7A1B2E#7A1B2E

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

Color values

HEX#7A1B2E
RGBrgb(122, 27, 46)
HSLhsl(348, 64%, 29%)
HSVhsv(348, 78%, 48%)
CMYKcmyk(0%, 77.9%, 62.3%, 52.2%)
CIE-LABlab(27.07, 41.49, 13.17)
CIE-LCHlch(27.07, 43.53, 17.62°)
OKLaboklab(38.76% 0.1246 0.0323)
OKLCHoklch(38.76% 0.129 14.6)
XYZxyz(8.9120, 5.1200, 3.1032)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2E #1B7A67
analogous
#7A1B5E #7A1B2E #7A381B
triadic
#7A1B2E #2E7A1B #1B2E7A
tetradic
#7A1B2E #5E7A1B #1B7A67 #381B7A
square
#7A1B2E #5E7A1B #1B7A67 #381B7A
split-complementary
#7A1B2E #1B7A38 #1B5E7A
monochromatic
#190609 #48101B #7A1B2E #AC2641 #D43C5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1B2E#FFFFFF#000000##FFFFFF
##7A1B2E1.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)
#35332E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b2e;
/* rgb */ color: rgb(122, 27, 46);
/* oklch */ color: oklch(38.8% 0.129 14.6);
Tailwind
colors: {
  custom: {
    50: '#a66066',
    500: '#7a1b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2e;
$custom-light: #a66066;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2e",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 348,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3876,
    "c": 0.12875,
    "h": 14.6
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#7A1B2E
secondary
#43AE99
accent
#E7C641
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #7A1B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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