#7B174F#7B174F

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

Color values

HEX#7B174F
RGBrgb(123, 23, 79)
HSLhsl(326, 68%, 29%)
HSVhsv(326, 81%, 48%)
CMYKcmyk(0%, 81.3%, 35.8%, 51.8%)
CIE-LABlab(27.82, 46.28, -7.92)
CIE-LCHlch(27.82, 46.96, 350.28°)
OKLaboklab(39.67% 0.142 -0.0205)
OKLCHoklch(39.67% 0.143 351.8)
XYZxyz(9.8867, 5.3895, 7.9153)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174F #177B43
analogous
#75177B #7B174F #7B171D
triadic
#7B174F #4F7B17 #174F7B
tetradic
#7B174F #7B7517 #177B43 #171D7B
square
#7B174F #7B7517 #177B43 #171D7B
split-complementary
#7B174F #1D7B17 #177B75
monochromatic
#1A0511 #470D2E #7B174F #AF2170 #D93390

Accessibility & contrast

On white

10.11
#7B174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B174F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174F#FFFFFF#000000##FFFFFF
##7B174F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#47484D
Tritanopia (blue-blind)
#850D31
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b174f;
/* rgb */ color: rgb(123, 23, 79);
/* oklch */ color: oklch(39.7% 0.143 351.8);
Tailwind
colors: {
  custom: {
    50: '#a56080',
    500: '#7b174f',
    950: '#000000',
  },
}
SCSS
$custom: #7b174f;
$custom-light: #a56080;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174f",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 326.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.14347,
    "h": 351.8
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#7B174F
secondary
#3EB070
accent
#EB893C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B174F

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

Preview Lab → · Contrast checker → · Palette generator →

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