#7B174A#7B174A

#7B174A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 355.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7B174A
RGBrgb(123, 23, 74)
HSLhsl(329, 68%, 29%)
HSVhsv(329, 81%, 48%)
CMYKcmyk(0%, 81.3%, 39.8%, 51.8%)
CIE-LABlab(27.63, 45.71, -4.87)
CIE-LCHlch(27.63, 45.97, 353.91°)
OKLaboklab(39.47% 0.1405 -0.0123)
OKLCHoklch(39.47% 0.141 355)
XYZxyz(9.7115, 5.3194, 6.9926)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174A #177B48
analogous
#7A177B #7B174A #7B1718
triadic
#7B174A #4A7B17 #174A7B
tetradic
#7B174A #7B7A17 #177B48 #17187B
square
#7B174A #7B7A17 #177B48 #17187B
split-complementary
#7B174A #187B17 #177B7A
monochromatic
#1A0510 #470D2B #7B174A #AF2169 #D93388

Accessibility & contrast

On white

10.18
#7B174A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B174A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B174A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174A#FFFFFF#000000##FFFFFF
##7B174A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#85082E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b174a;
/* rgb */ color: rgb(123, 23, 74);
/* oklch */ color: oklch(39.5% 0.141 355.0);
Tailwind
colors: {
  custom: {
    50: '#a6607c',
    500: '#7b174a',
    950: '#000000',
  },
}
SCSS
$custom: #7b174a;
$custom-light: #a6607c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174a",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 74
  },
  "hsl": {
    "h": 329.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.14106,
    "h": 355
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#7B174A
secondary
#3EB076
accent
#EB923C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B174A

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

Preview Lab → · Contrast checker → · Palette generator →

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