#7A172E#7A172E

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

Color values

HEX#7A172E
RGBrgb(122, 23, 46)
HSLhsl(346, 68%, 28%)
HSVhsv(346, 81%, 48%)
CMYKcmyk(0%, 81.1%, 62.3%, 52.2%)
CIE-LABlab(26.59, 42.85, 12.53)
CIE-LCHlch(26.59, 44.64, 16.29°)
OKLaboklab(38.4% 0.129 0.0308)
OKLCHoklch(38.4% 0.133 13.4)
XYZxyz(8.8265, 4.9489, 3.0747)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A172E #177A63
analogous
#7A175F #7A172E #7A3117
triadic
#7A172E #2E7A17 #172E7A
tetradic
#7A172E #5F7A17 #177A63 #31177A
square
#7A172E #5F7A17 #177A63 #31177A
split-complementary
#7A172E #177A31 #175F7A
monochromatic
#1A050A #470D1B #7A172E #AD2141 #D93359

Accessibility & contrast

On white

10.55
#7A172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A172E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A172E#FFFFFF#000000##FFFFFF
##7A172E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a172e;
/* rgb */ color: rgb(122, 23, 46);
/* oklch */ color: oklch(38.4% 0.133 13.4);
Tailwind
colors: {
  custom: {
    50: '#a75f66',
    500: '#7a172e',
    950: '#000000',
  },
}
SCSS
$custom: #7a172e;
$custom-light: #a75f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a172e",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 346.061,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38401,
    "c": 0.13264,
    "h": 13.4
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#7A172E
secondary
#3EAF95
accent
#EBC33D
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7A172E

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

Preview Lab → · Contrast checker → · Palette generator →

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