#7B175A#7B175A

#7B175A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.150 H 345.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7B175A
RGBrgb(123, 23, 90)
HSLhsl(320, 68%, 29%)
HSVhsv(320, 81%, 48%)
CMYKcmyk(0%, 81.3%, 26.8%, 51.8%)
CIE-LABlab(28.28, 47.67, -14.49)
CIE-LCHlch(28.28, 49.82, 343.09°)
OKLaboklab(40.16% 0.1446 -0.0386)
OKLCHoklch(40.16% 0.15 345.1)
XYZxyz(10.3207, 5.5631, 10.2011)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175A #177B38
analogous
#6A177B #7B175A #7B1728
triadic
#7B175A #5A7B17 #175A7B
tetradic
#7B175A #7B6A17 #177B38 #17287B
square
#7B175A #7B6A17 #177B38 #17287B
split-complementary
#7B175A #287B17 #177B6A
monochromatic
#1A0513 #470D34 #7B175A #AF2180 #D933A2

Accessibility & contrast

On white

9.94
#7B175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B175A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175A#FFFFFF#000000##FFFFFF
##7B175A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#841537
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175a;
/* rgb */ color: rgb(123, 23, 90);
/* oklch */ color: oklch(40.2% 0.150 345.1);
Tailwind
colors: {
  custom: {
    50: '#a56188',
    500: '#7b175a',
    950: '#000000',
  },
}
SCSS
$custom: #7b175a;
$custom-light: #a56188;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175a",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 319.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.14967,
    "h": 345.1
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7B175A
secondary
#3EB064
accent
#EB763C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B175A

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

Preview Lab → · Contrast checker → · Palette generator →

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