#7B174E#7B174E

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

Color values

HEX#7B174E
RGBrgb(123, 23, 78)
HSLhsl(327, 68%, 29%)
HSVhsv(327, 81%, 48%)
CMYKcmyk(0%, 81.3%, 36.6%, 51.8%)
CIE-LABlab(27.78, 46.16, -7.32)
CIE-LCHlch(27.78, 46.74, 350.99°)
OKLaboklab(39.63% 0.1417 -0.0188)
OKLCHoklch(39.63% 0.143 352.4)
XYZxyz(9.8505, 5.3750, 7.7250)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174E #177B44
analogous
#76177B #7B174E #7B171C
triadic
#7B174E #4E7B17 #174E7B
tetradic
#7B174E #7B7617 #177B44 #171C7B
square
#7B174E #7B7617 #177B44 #171C7B
split-complementary
#7B174E #1C7B17 #177B76
monochromatic
#1A0510 #470D2D #7B174E #AF216F #D9338E

Accessibility & contrast

On white

10.12
#7B174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B174E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174E#FFFFFF#000000##FFFFFF
##7B174E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#850C30
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b174e;
/* rgb */ color: rgb(123, 23, 78);
/* oklch */ color: oklch(39.6% 0.143 352.4);
Tailwind
colors: {
  custom: {
    50: '#a5607f',
    500: '#7b174e',
    950: '#000000',
  },
}
SCSS
$custom: #7b174e;
$custom-light: #a5607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174e",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 327,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.14296,
    "h": 352.4
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#7B174E
secondary
#3EB071
accent
#EB8B3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B174E

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

Preview Lab → · Contrast checker → · Palette generator →

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