#7A1B2F#7A1B2F

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

Color values

HEX#7A1B2F
RGBrgb(122, 27, 47)
HSLhsl(347, 64%, 29%)
HSVhsv(347, 78%, 48%)
CMYKcmyk(0%, 77.9%, 61.5%, 52.2%)
CIE-LABlab(27.10, 41.56, 12.53)
CIE-LCHlch(27.10, 43.41, 16.78°)
OKLaboklab(38.78% 0.1251 0.0309)
OKLCHoklch(38.78% 0.129 13.9)
XYZxyz(8.9320, 5.1280, 3.2082)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B2F #1B7A66
analogous
#7A1B5F #7A1B2F #7A371B
triadic
#7A1B2F #2F7A1B #1B2F7A
tetradic
#7A1B2F #5F7A1B #1B7A66 #371B7A
square
#7A1B2F #5F7A1B #1B7A66 #371B7A
split-complementary
#7A1B2F #1B7A37 #1B5F7A
monochromatic
#19060A #48101C #7A1B2F #AC2642 #D43C5C

Accessibility & contrast

On white

10.37
#7A1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B2F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B2F#FFFFFF#000000##FFFFFF
##7A1B2F1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b2f;
/* rgb */ color: rgb(122, 27, 47);
/* oklch */ color: oklch(38.8% 0.129 13.9);
Tailwind
colors: {
  custom: {
    50: '#a66067',
    500: '#7a1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b2f;
$custom-light: #a66067;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b2f",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.368,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.12881,
    "h": 13.9
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#7A1B2F
secondary
#43AE98
accent
#E7C441
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #7A1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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