#7A1B27#7A1B27

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

Color values

HEX#7A1B27
RGBrgb(122, 27, 39)
HSLhsl(352, 64%, 29%)
HSVhsv(352, 78%, 48%)
CMYKcmyk(0%, 77.9%, 68%, 52.2%)
CIE-LABlab(26.93, 41.02, 17.67)
CIE-LCHlch(26.93, 44.67, 23.31°)
OKLaboklab(38.61% 0.1217 0.042)
OKLCHoklch(38.61% 0.129 19.1)
XYZxyz(8.7851, 5.0692, 2.4349)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B27 #1B7A6E
analogous
#7A1B57 #7A1B27 #7A3F1B
triadic
#7A1B27 #277A1B #1B277A
tetradic
#7A1B27 #577A1B #1B7A6E #3F1B7A
square
#7A1B27 #577A1B #1B7A6E #3F1B7A
split-complementary
#7A1B27 #1B7A3F #1B577A
monochromatic
#190608 #481017 #7A1B27 #AC2637 #D43C4F

Accessibility & contrast

On white

10.43
#7A1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A1B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B27
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B27#FFFFFF#000000##FFFFFF
##7A1B271.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1b27;
/* rgb */ color: rgb(122, 27, 39);
/* oklch */ color: oklch(38.6% 0.129 19.1);
Tailwind
colors: {
  custom: {
    50: '#a76060',
    500: '#7a1b27',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b27;
$custom-light: #a76060;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b27",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 352.421,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.1287,
    "h": 19.1
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#7A1B27
secondary
#43AEA1
accent
#E7D241
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1B27

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

Preview Lab → · Contrast checker → · Palette generator →

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