#7B173C#7B173C

#7B173C is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.136 H 4.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7B173C
RGBrgb(123, 23, 60)
HSLhsl(338, 68%, 29%)
HSVhsv(338, 81%, 48%)
CMYKcmyk(0%, 81.3%, 51.2%, 51.8%)
CIE-LABlab(27.16, 44.29, 3.87)
CIE-LCHlch(27.16, 44.46, 4.99°)
OKLaboklab(38.98% 0.1356 0.0103)
OKLCHoklch(38.98% 0.136 4.3)
XYZxyz(9.2912, 5.1513, 4.7791)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173C #177B56
analogous
#7B176E #7B173C #7B2417
triadic
#7B173C #3C7B17 #173C7B
tetradic
#7B173C #6E7B17 #177B56 #24177B
square
#7B173C #6E7B17 #177B56 #24177B
split-complementary
#7B173C #177B24 #176E7B
monochromatic
#1A050D #470D23 #7B173C #AF2155 #D93371

Accessibility & contrast

On white

10.34
#7B173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B173C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B173C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173C#FFFFFF#000000##FFFFFF
##7B173C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343D
Deuteranopia (green-blind)
#4B473A
Tritanopia (blue-blind)
#860027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b173c;
/* rgb */ color: rgb(123, 23, 60);
/* oklch */ color: oklch(39.0% 0.136 4.3);
Tailwind
colors: {
  custom: {
    50: '#a65f71',
    500: '#7b173c',
    950: '#000000',
  },
}
SCSS
$custom: #7b173c;
$custom-light: #a65f71;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173c",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 337.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.13599,
    "h": 4.3
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#7B173C
secondary
#3EB086
accent
#EBAB3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B173C

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

Preview Lab → · Contrast checker → · Palette generator →

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