#7B172D#7B172D

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

Color values

HEX#7B172D
RGBrgb(123, 23, 45)
HSLhsl(347, 68%, 29%)
HSVhsv(347, 81%, 48%)
CMYKcmyk(0%, 81.3%, 63.4%, 51.8%)
CIE-LABlab(26.78, 43.09, 13.49)
CIE-LCHlch(26.78, 45.15, 17.38°)
OKLaboklab(38.57% 0.1294 0.033)
OKLCHoklch(38.57% 0.134 14.3)
XYZxyz(8.9494, 5.0145, 2.9788)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B172D #177B65
analogous
#7B175F #7B172D #7B3317
triadic
#7B172D #2D7B17 #172D7B
tetradic
#7B172D #5F7B17 #177B65 #33177B
square
#7B172D #5F7B17 #177B65 #33177B
split-complementary
#7B172D #177B33 #175F7B
monochromatic
#1A0509 #470D1A #7B172D #AF2140 #D93358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B172D#FFFFFF#000000##FFFFFF
##7B172D1.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)
#34322D
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b172d;
/* rgb */ color: rgb(123, 23, 45);
/* oklch */ color: oklch(38.6% 0.134 14.3);
Tailwind
colors: {
  custom: {
    50: '#a75f65',
    500: '#7b172d',
    950: '#000000',
  },
}
SCSS
$custom: #7b172d;
$custom-light: #a75f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b172d",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 346.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38569,
    "c": 0.13357,
    "h": 14.3
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#7B172D
secondary
#3EB097
accent
#EBC53C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B172D

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

Preview Lab → · Contrast checker → · Palette generator →

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