#7B172F#7B172F

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

Color values

HEX#7B172F
RGBrgb(123, 23, 47)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 48%)
CMYKcmyk(0%, 81.3%, 61.8%, 51.8%)
CIE-LABlab(26.82, 43.23, 12.20)
CIE-LCHlch(26.82, 44.92, 15.76°)
OKLaboklab(38.62% 0.1303 0.0301)
OKLCHoklch(38.62% 0.134 13)
XYZxyz(8.9888, 5.0303, 3.1864)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B172F #177B63
analogous
#7B1761 #7B172F #7B3117
triadic
#7B172F #2F7B17 #172F7B
tetradic
#7B172F #617B17 #177B63 #31177B
square
#7B172F #617B17 #177B63 #31177B
split-complementary
#7B172F #177B31 #17617B
monochromatic
#1A050A #470D1B #7B172F #AF2143 #D9335B

Accessibility & contrast

On white

10.47
#7B172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B172F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B172F#FFFFFF#000000##FFFFFF
##7B172F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b172f;
/* rgb */ color: rgb(123, 23, 47);
/* oklch */ color: oklch(38.6% 0.134 13.0);
Tailwind
colors: {
  custom: {
    50: '#a75f67',
    500: '#7b172f',
    950: '#000000',
  },
}
SCSS
$custom: #7b172f;
$custom-light: #a75f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b172f",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 345.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.13371,
    "h": 13
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#7B172F
secondary
#3EB095
accent
#EBC13C
background
#FBF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B172F

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

Preview Lab → · Contrast checker → · Palette generator →

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