#7A1D23#7A1D23

#7A1D23 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.127 H 22.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7A1D23
RGBrgb(122, 29, 35)
HSLhsl(356, 62%, 30%)
HSVhsv(356, 76%, 48%)
CMYKcmyk(0%, 76.2%, 71.3%, 52.2%)
CIE-LABlab(27.13, 40.04, 20.55)
CIE-LCHlch(27.13, 45.01, 27.17°)
OKLaboklab(38.73% 0.1176 0.0479)
OKLCHoklch(38.73% 0.127 22.2)
XYZxyz(8.7697, 5.1390, 2.1199)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D23 #1D7A74
analogous
#7A1D52 #7A1D23 #7A461D
triadic
#7A1D23 #237A1D #1D237A
tetradic
#7A1D23 #527A1D #1D7A74 #461D7A
square
#7A1D23 #527A1D #1D7A74 #461D7A
split-complementary
#7A1D23 #1D7A46 #1D527A
monochromatic
#190607 #491115 #7A1D23 #AB2931 #D24049

Accessibility & contrast

On white

10.36
#7A1D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D23
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D23#FFFFFF#000000##FFFFFF
##7A1D231.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383322
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d23;
/* rgb */ color: rgb(122, 29, 35);
/* oklch */ color: oklch(38.7% 0.127 22.2);
Tailwind
colors: {
  custom: {
    50: '#a7615d',
    500: '#7a1d23',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d23;
$custom-light: #a7615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d23",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 356.129,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.127,
    "h": 22.2
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#7A1D23
secondary
#45AEA7
accent
#E5DA43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7A1D23

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

Preview Lab → · Contrast checker → · Palette generator →

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