#7B175E#7B175E

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

Color values

HEX#7B175E
RGBrgb(123, 23, 94)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 48%)
CMYKcmyk(0%, 81.3%, 23.6%, 51.8%)
CIE-LABlab(28.47, 48.21, -16.82)
CIE-LCHlch(28.47, 51.06, 340.76°)
OKLaboklab(40.36% 0.1454 -0.0451)
OKLCHoklch(40.36% 0.152 342.8)
XYZxyz(10.4956, 5.6330, 11.1221)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175E #177B34
analogous
#66177B #7B175E #7B172C
triadic
#7B175E #5E7B17 #175E7B
tetradic
#7B175E #7B6617 #177B34 #172C7B
square
#7B175E #7B6617 #177B34 #172C7B
split-complementary
#7B175E #2C7B17 #177B66
monochromatic
#1A0514 #470D37 #7B175E #AF2185 #D933A9

Accessibility & contrast

On white

9.88
#7B175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B175E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175E#FFFFFF#000000##FFFFFF
##7B175E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#831839
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175e;
/* rgb */ color: rgb(123, 23, 94);
/* oklch */ color: oklch(40.4% 0.152 342.8);
Tailwind
colors: {
  custom: {
    50: '#a5618b',
    500: '#7b175e',
    950: '#000000',
  },
}
SCSS
$custom: #7b175e;
$custom-light: #a5618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175e",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 317.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.15219,
    "h": 342.8
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#7B175E
secondary
#3EB05F
accent
#EB6F3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B175E

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

Preview Lab → · Contrast checker → · Palette generator →

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