#7B173B#7B173B

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

Color values

HEX#7B173B
RGBrgb(123, 23, 59)
HSLhsl(338, 68%, 29%)
HSVhsv(338, 81%, 48%)
CMYKcmyk(0%, 81.3%, 52%, 51.8%)
CIE-LABlab(27.13, 44.20, 4.50)
CIE-LCHlch(27.13, 44.43, 5.82°)
OKLaboklab(38.95% 0.1352 0.0119)
OKLCHoklch(38.95% 0.136 5)
XYZxyz(9.2650, 5.1408, 4.6412)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B173B #177B57
analogous
#7B176D #7B173B #7B2517
triadic
#7B173B #3B7B17 #173B7B
tetradic
#7B173B #6D7B17 #177B57 #25177B
square
#7B173B #6D7B17 #177B57 #25177B
split-complementary
#7B173B #177B25 #176D7B
monochromatic
#1A050C #470D22 #7B173B #AF2154 #D9336F

Accessibility & contrast

On white

10.36
#7B173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B173B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B173B#FFFFFF#000000##FFFFFF
##7B173B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4B4739
Tritanopia (blue-blind)
#860027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b173b;
/* rgb */ color: rgb(123, 23, 59);
/* oklch */ color: oklch(38.9% 0.136 5.0);
Tailwind
colors: {
  custom: {
    50: '#a65f70',
    500: '#7b173b',
    950: '#000000',
  },
}
SCSS
$custom: #7b173b;
$custom-light: #a65f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7b173b",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 338.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.13573,
    "h": 5
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#7B173B
secondary
#3EB087
accent
#EBAC3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B173B

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

Preview Lab → · Contrast checker → · Palette generator →

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