#7B173E#7B173E

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

Color values

HEX#7B173E
RGBrgb(123, 23, 62)
HSLhsl(337, 68%, 29%)
HSVhsv(337, 81%, 48%)
CMYKcmyk(0%, 81.3%, 49.6%, 51.8%)
CIE-LABlab(27.22, 44.47, 2.60)
CIE-LCHlch(27.22, 44.55, 3.35°)
OKLaboklab(39.04% 0.1364 0.0071)
OKLCHoklch(39.04% 0.137 3)
XYZxyz(9.3451, 5.1728, 5.0629)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173E #177B54
analogous
#7B1770 #7B173E #7B2217
triadic
#7B173E #3E7B17 #173E7B
tetradic
#7B173E #707B17 #177B54 #22177B
square
#7B173E #707B17 #177B54 #22177B
split-complementary
#7B173E #177B22 #17707B
monochromatic
#1A050D #470D24 #7B173E #AF2158 #D93374

Accessibility & contrast

On white

10.32
#7B173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B173E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173E#FFFFFF#000000##FFFFFF
##7B173E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b173e;
/* rgb */ color: rgb(123, 23, 62);
/* oklch */ color: oklch(39.0% 0.137 3.0);
Tailwind
colors: {
  custom: {
    50: '#a65f73',
    500: '#7b173e',
    950: '#000000',
  },
}
SCSS
$custom: #7b173e;
$custom-light: #a65f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173e",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 336.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.13655,
    "h": 3
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#7B173E
secondary
#3EB083
accent
#EBA73C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B173E

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

Preview Lab → · Contrast checker → · Palette generator →

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