#7B173D#7B173D

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

Color values

HEX#7B173D
RGBrgb(123, 23, 61)
HSLhsl(337, 68%, 29%)
HSVhsv(337, 81%, 48%)
CMYKcmyk(0%, 81.3%, 50.4%, 51.8%)
CIE-LABlab(27.19, 44.38, 3.23)
CIE-LCHlch(27.19, 44.50, 4.17°)
OKLaboklab(39.01% 0.136 0.0087)
OKLCHoklch(39.01% 0.136 3.7)
XYZxyz(9.3179, 5.1620, 4.9197)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173D #177B55
analogous
#7B176F #7B173D #7B2317
triadic
#7B173D #3D7B17 #173D7B
tetradic
#7B173D #6F7B17 #177B55 #23177B
square
#7B173D #6F7B17 #177B55 #23177B
split-complementary
#7B173D #177B23 #176F7B
monochromatic
#1A050D #470D23 #7B173D #AF2157 #D93372

Accessibility & contrast

On white

10.33
#7B173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B173D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173D#FFFFFF#000000##FFFFFF
##7B173D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343E
Deuteranopia (green-blind)
#4B473B
Tritanopia (blue-blind)
#860028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b173d;
/* rgb */ color: rgb(123, 23, 61);
/* oklch */ color: oklch(39.0% 0.136 3.7);
Tailwind
colors: {
  custom: {
    50: '#a65f72',
    500: '#7b173d',
    950: '#000000',
  },
}
SCSS
$custom: #7b173d;
$custom-light: #a65f72;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173d",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 337.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.13626,
    "h": 3.7
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#7B173D
secondary
#3EB085
accent
#EBA93C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B173D

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

Preview Lab → · Contrast checker → · Palette generator →

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