#7B172C#7B172C

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

Color values

HEX#7B172C
RGBrgb(123, 23, 44)
HSLhsl(347, 68%, 29%)
HSVhsv(347, 81%, 48%)
CMYKcmyk(0%, 81.3%, 64.2%, 51.8%)
CIE-LABlab(26.75, 43.02, 14.13)
CIE-LCHlch(26.75, 45.28, 18.19°)
OKLaboklab(38.55% 0.129 0.0344)
OKLCHoklch(38.55% 0.134 14.9)
XYZxyz(8.9303, 5.0069, 2.8786)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B172C #177B66
analogous
#7B175E #7B172C #7B3417
triadic
#7B172C #2C7B17 #172C7B
tetradic
#7B172C #5E7B17 #177B66 #34177B
square
#7B172C #5E7B17 #177B66 #34177B
split-complementary
#7B172C #177B34 #175E7B
monochromatic
#1A0509 #470D1A #7B172C #AF213E #D93356

Accessibility & contrast

On white

10.49
#7B172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B172C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B172C#FFFFFF#000000##FFFFFF
##7B172C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4D4729
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b172c;
/* rgb */ color: rgb(123, 23, 44);
/* oklch */ color: oklch(38.5% 0.134 14.9);
Tailwind
colors: {
  custom: {
    50: '#a85f64',
    500: '#7b172c',
    950: '#000000',
  },
}
SCSS
$custom: #7b172c;
$custom-light: #a85f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b172c",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 347.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.13352,
    "h": 14.9
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#7B172C
secondary
#3EB098
accent
#EBC73C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B172C

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

Preview Lab → · Contrast checker → · Palette generator →

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