#7B173A#7B173A

#7B173A is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 5.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7B173A
RGBrgb(123, 23, 58)
HSLhsl(339, 68%, 29%)
HSVhsv(339, 81%, 48%)
CMYKcmyk(0%, 81.3%, 52.8%, 51.8%)
CIE-LABlab(27.10, 44.11, 5.14)
CIE-LCHlch(27.10, 44.41, 6.64°)
OKLaboklab(38.92% 0.1348 0.0134)
OKLCHoklch(38.92% 0.135 5.7)
XYZxyz(9.2393, 5.1305, 4.5059)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173A #177B58
analogous
#7B176C #7B173A #7B2617
triadic
#7B173A #3A7B17 #173A7B
tetradic
#7B173A #6C7B17 #177B58 #26177B
square
#7B173A #6C7B17 #177B58 #26177B
split-complementary
#7B173A #177B26 #176C7B
monochromatic
#1A050C #470D22 #7B173A #AF2152 #D9336D

Accessibility & contrast

On white

10.37
#7B173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B173A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173A#FFFFFF#000000##FFFFFF
##7B173A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31333B
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#870026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b173a;
/* rgb */ color: rgb(123, 23, 58);
/* oklch */ color: oklch(38.9% 0.135 5.7);
Tailwind
colors: {
  custom: {
    50: '#a75f6f',
    500: '#7b173a',
    950: '#000000',
  },
}
SCSS
$custom: #7b173a;
$custom-light: #a75f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173a",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 339,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.13548,
    "h": 5.7
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#7B173A
secondary
#3EB088
accent
#EBAE3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B173A

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

Preview Lab → · Contrast checker → · Palette generator →

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