#7A172D#7A172D

#7A172D is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.133 H 14.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7A172D
RGBrgb(122, 23, 45)
HSLhsl(347, 68%, 28%)
HSVhsv(347, 81%, 48%)
CMYKcmyk(0%, 81.1%, 63.1%, 52.2%)
CIE-LABlab(26.57, 42.78, 13.17)
CIE-LCHlch(26.57, 44.76, 17.11°)
OKLaboklab(38.38% 0.1286 0.0323)
OKLCHoklch(38.38% 0.133 14.1)
XYZxyz(8.8070, 4.9411, 2.9721)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A172D #177A64
analogous
#7A175E #7A172D #7A3217
triadic
#7A172D #2D7A17 #172D7A
tetradic
#7A172D #5E7A17 #177A64 #32177A
square
#7A172D #5E7A17 #177A64 #32177A
split-complementary
#7A172D #177A32 #175E7A
monochromatic
#1A0509 #470D1A #7A172D #AD2140 #D93358

Accessibility & contrast

On white

10.56
#7A172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A172D
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A172D#FFFFFF#000000##FFFFFF
##7A172D1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322D
Deuteranopia (green-blind)
#4C462A
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a172d;
/* rgb */ color: rgb(122, 23, 45);
/* oklch */ color: oklch(38.4% 0.133 14.1);
Tailwind
colors: {
  custom: {
    50: '#a75f65',
    500: '#7a172d',
    950: '#000000',
  },
}
SCSS
$custom: #7a172d;
$custom-light: #a75f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a172d",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 346.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.13257,
    "h": 14.1
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#7A172D
secondary
#3EAF96
accent
#EBC43D
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A172D

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

Preview Lab → · Contrast checker → · Palette generator →

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