#7B175C#7B175C

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

Color values

HEX#7B175C
RGBrgb(123, 23, 92)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 48%)
CMYKcmyk(0%, 81.3%, 25.2%, 51.8%)
CIE-LABlab(28.37, 47.94, -15.66)
CIE-LCHlch(28.37, 50.43, 341.91°)
OKLaboklab(40.26% 0.145 -0.0418)
OKLCHoklch(40.26% 0.151 343.9)
XYZxyz(10.4070, 5.5976, 10.6555)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175C #177B36
analogous
#68177B #7B175C #7B172A
triadic
#7B175C #5C7B17 #175C7B
tetradic
#7B175C #7B6817 #177B36 #172A7B
square
#7B175C #7B6817 #177B36 #172A7B
split-complementary
#7B175C #2A7B17 #177B68
monochromatic
#1A0513 #470D35 #7B175C #AF2183 #D933A6

Accessibility & contrast

On white

9.91
#7B175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B175C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175C#FFFFFF#000000##FFFFFF
##7B175C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#841638
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175c;
/* rgb */ color: rgb(123, 23, 92);
/* oklch */ color: oklch(40.3% 0.151 343.9);
Tailwind
colors: {
  custom: {
    50: '#a5618a',
    500: '#7b175c',
    950: '#000000',
  },
}
SCSS
$custom: #7b175c;
$custom-light: #a5618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175c",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 318.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.15092,
    "h": 343.9
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#7B175C
secondary
#3EB061
accent
#EB733C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B175C

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

Preview Lab → · Contrast checker → · Palette generator →

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