#7B174C#7B174C

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

Color values

HEX#7B174C
RGBrgb(123, 23, 76)
HSLhsl(328, 68%, 29%)
HSVhsv(328, 81%, 48%)
CMYKcmyk(0%, 81.3%, 38.2%, 51.8%)
CIE-LABlab(27.70, 45.93, -6.10)
CIE-LCHlch(27.70, 46.34, 352.44°)
OKLaboklab(39.55% 0.1411 -0.0156)
OKLCHoklch(39.55% 0.142 353.7)
XYZxyz(9.7799, 5.3468, 7.3531)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174C #177B46
analogous
#78177B #7B174C #7B171A
triadic
#7B174C #4C7B17 #174C7B
tetradic
#7B174C #7B7817 #177B46 #171A7B
square
#7B174C #7B7817 #177B46 #171A7B
split-complementary
#7B174C #1A7B17 #177B78
monochromatic
#1A0510 #470D2C #7B174C #AF216C #D9338B

Accessibility & contrast

On white

10.15
#7B174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B174C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174C#FFFFFF#000000##FFFFFF
##7B174C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#47484A
Tritanopia (blue-blind)
#850A2F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b174c;
/* rgb */ color: rgb(123, 23, 76);
/* oklch */ color: oklch(39.6% 0.142 353.7);
Tailwind
colors: {
  custom: {
    50: '#a6607e',
    500: '#7b174c',
    950: '#000000',
  },
}
SCSS
$custom: #7b174c;
$custom-light: #a6607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174c",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 328.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.14199,
    "h": 353.7
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#7B174C
secondary
#3EB073
accent
#EB8F3C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B174C

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

Preview Lab → · Contrast checker → · Palette generator →

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