#7B172E#7B172E

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

Color values

HEX#7B172E
RGBrgb(123, 23, 46)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 48%)
CMYKcmyk(0%, 81.3%, 62.6%, 51.8%)
CIE-LABlab(26.80, 43.16, 12.84)
CIE-LCHlch(26.80, 45.03, 16.57°)
OKLaboklab(38.59% 0.1299 0.0316)
OKLCHoklch(38.59% 0.134 13.7)
XYZxyz(8.9688, 5.0223, 3.0814)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B172E #177B64
analogous
#7B1760 #7B172E #7B3217
triadic
#7B172E #2E7B17 #172E7B
tetradic
#7B172E #607B17 #177B64 #32177B
square
#7B172E #607B17 #177B64 #32177B
split-complementary
#7B172E #177B32 #17607B
monochromatic
#1A050A #470D1B #7B172E #AF2141 #D9335A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B172E#FFFFFF#000000##FFFFFF
##7B172E1.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)
#33322E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b172e;
/* rgb */ color: rgb(123, 23, 46);
/* oklch */ color: oklch(38.6% 0.134 13.7);
Tailwind
colors: {
  custom: {
    50: '#a75f66',
    500: '#7b172e',
    950: '#000000',
  },
}
SCSS
$custom: #7b172e;
$custom-light: #a75f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7b172e",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 346.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38593,
    "c": 0.13364,
    "h": 13.7
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#7B172E
secondary
#3EB096
accent
#EBC33C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B172E

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

Preview Lab → · Contrast checker → · Palette generator →

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