#7B174D#7B174D

#7B174D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.142 H 353.1°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7B174D
RGBrgb(123, 23, 77)
HSLhsl(328, 68%, 29%)
HSVhsv(328, 81%, 48%)
CMYKcmyk(0%, 81.3%, 37.4%, 51.8%)
CIE-LABlab(27.74, 46.05, -6.71)
CIE-LCHlch(27.74, 46.53, 351.71°)
OKLaboklab(39.59% 0.1414 -0.0172)
OKLCHoklch(39.59% 0.142 353.1)
XYZxyz(9.8150, 5.3608, 7.5376)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174D #177B45
analogous
#77177B #7B174D #7B171B
triadic
#7B174D #4D7B17 #174D7B
tetradic
#7B174D #7B7717 #177B45 #171B7B
square
#7B174D #7B7717 #177B45 #171B7B
split-complementary
#7B174D #1B7B17 #177B77
monochromatic
#1A0510 #470D2D #7B174D #AF216D #D9338D

Accessibility & contrast

On white

10.14
#7B174D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B174D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B174D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174D#FFFFFF#000000##FFFFFF
##7B174D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364E
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#850B30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b174d;
/* rgb */ color: rgb(123, 23, 77);
/* oklch */ color: oklch(39.6% 0.142 353.1);
Tailwind
colors: {
  custom: {
    50: '#a5607e',
    500: '#7b174d',
    950: '#000000',
  },
}
SCSS
$custom: #7b174d;
$custom-light: #a5607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174d",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 77
  },
  "hsl": {
    "h": 327.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.14247,
    "h": 353.1
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#7B174D
secondary
#3EB072
accent
#EB8D3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B174D

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

Preview Lab → · Contrast checker → · Palette generator →

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