#7B175D#7B175D

#7B175D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.152 H 343.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7B175D
RGBrgb(123, 23, 93)
HSLhsl(318, 68%, 29%)
HSVhsv(318, 81%, 48%)
CMYKcmyk(0%, 81.3%, 24.4%, 51.8%)
CIE-LABlab(28.42, 48.07, -16.24)
CIE-LCHlch(28.42, 50.74, 341.33°)
OKLaboklab(40.31% 0.1452 -0.0435)
OKLCHoklch(40.31% 0.152 343.3)
XYZxyz(10.4510, 5.6152, 10.8873)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175D #177B35
analogous
#67177B #7B175D #7B172B
triadic
#7B175D #5D7B17 #175D7B
tetradic
#7B175D #7B6717 #177B35 #172B7B
square
#7B175D #7B6717 #177B35 #172B7B
split-complementary
#7B175D #2B7B17 #177B67
monochromatic
#1A0513 #470D36 #7B175D #AF2184 #D933A7

Accessibility & contrast

On white

9.89
#7B175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B175D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175D#FFFFFF#000000##FFFFFF
##7B175D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23395F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#831738
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175d;
/* rgb */ color: rgb(123, 23, 93);
/* oklch */ color: oklch(40.3% 0.152 343.3);
Tailwind
colors: {
  custom: {
    50: '#a5618b',
    500: '#7b175d',
    950: '#000000',
  },
}
SCSS
$custom: #7b175d;
$custom-light: #a5618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175d",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 318,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.15155,
    "h": 343.3
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#7B175D
secondary
#3EB060
accent
#EB713C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B175D

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

Preview Lab → · Contrast checker → · Palette generator →

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