#7A1A27#7A1A27

#7A1A27 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.130 H 18.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7A1A27
RGBrgb(122, 26, 39)
HSLhsl(352, 65%, 29%)
HSVhsv(352, 79%, 48%)
CMYKcmyk(0%, 78.7%, 68%, 52.2%)
CIE-LABlab(26.80, 41.38, 17.51)
CIE-LCHlch(26.80, 44.93, 22.94°)
OKLaboklab(38.51% 0.1228 0.0417)
OKLCHoklch(38.51% 0.13 18.7)
XYZxyz(8.7626, 5.0242, 2.4274)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A27 #1A7A6D
analogous
#7A1A57 #7A1A27 #7A3D1A
triadic
#7A1A27 #277A1A #1A277A
tetradic
#7A1A27 #577A1A #1A7A6D #3D1A7A
square
#7A1A27 #577A1A #1A7A6D #3D1A7A
split-complementary
#7A1A27 #1A7A3D #1A577A
monochromatic
#190508 #480F17 #7A1A27 #AC2537 #D5394F

Accessibility & contrast

On white

10.48
#7A1A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7A1A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A27
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A27#FFFFFF#000000##FFFFFF
##7A1A271.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363227
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1a27;
/* rgb */ color: rgb(122, 26, 39);
/* oklch */ color: oklch(38.5% 0.130 18.7);
Tailwind
colors: {
  custom: {
    50: '#a76060',
    500: '#7a1a27',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a27;
$custom-light: #a76060;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a27",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 351.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38513,
    "c": 0.12966,
    "h": 18.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#7A1A27
secondary
#41AEA0
accent
#E8D140
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1A27

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

Preview Lab → · Contrast checker → · Palette generator →

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