#7B173F#7B173F

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

Color values

HEX#7B173F
RGBrgb(123, 23, 63)
HSLhsl(336, 68%, 29%)
HSVhsv(336, 81%, 48%)
CMYKcmyk(0%, 81.3%, 48.8%, 51.8%)
CIE-LABlab(27.25, 44.57, 1.97)
CIE-LCHlch(27.25, 44.61, 2.53°)
OKLaboklab(39.07% 0.1367 0.0055)
OKLCHoklch(39.07% 0.137 2.3)
XYZxyz(9.3728, 5.1839, 5.2087)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173F #177B53
analogous
#7B1771 #7B173F #7B2117
triadic
#7B173F #3F7B17 #173F7B
tetradic
#7B173F #717B17 #177B53 #21177B
square
#7B173F #717B17 #177B53 #21177B
split-complementary
#7B173F #177B21 #17717B
monochromatic
#1A050D #470D25 #7B173F #AF2159 #D93376

Accessibility & contrast

On white

10.31
#7B173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B173F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173F#FFFFFF#000000##FFFFFF
##7B173F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303440
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#860029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b173f;
/* rgb */ color: rgb(123, 23, 63);
/* oklch */ color: oklch(39.1% 0.137 2.3);
Tailwind
colors: {
  custom: {
    50: '#a66073',
    500: '#7b173f',
    950: '#000000',
  },
}
SCSS
$custom: #7b173f;
$custom-light: #a66073;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173f",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 336,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39075,
    "c": 0.13685,
    "h": 2.3
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#7B173F
secondary
#3EB082
accent
#EBA53C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B173F

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

Preview Lab → · Contrast checker → · Palette generator →

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