#7B175F#7B175F

#7B175F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.153 H 342.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7B175F
RGBrgb(123, 23, 95)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 48%)
CMYKcmyk(0%, 81.3%, 22.8%, 51.8%)
CIE-LABlab(28.51, 48.35, -17.40)
CIE-LCHlch(28.51, 51.39, 340.20°)
OKLaboklab(40.41% 0.1455 -0.0468)
OKLCHoklch(40.41% 0.153 342.2)
XYZxyz(10.5407, 5.6511, 11.3599)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175F #177B33
analogous
#65177B #7B175F #7B172D
triadic
#7B175F #5F7B17 #175F7B
tetradic
#7B175F #7B6517 #177B33 #172D7B
square
#7B175F #7B6517 #177B33 #172D7B
split-complementary
#7B175F #2D7B17 #177B65
monochromatic
#1A0514 #470D37 #7B175F #AF2187 #D933AB

Accessibility & contrast

On white

9.86
#7B175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B175F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175F#FFFFFF#000000##FFFFFF
##7B175F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#83183A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175f;
/* rgb */ color: rgb(123, 23, 95);
/* oklch */ color: oklch(40.4% 0.153 342.2);
Tailwind
colors: {
  custom: {
    50: '#a5618c',
    500: '#7b175f',
    950: '#000000',
  },
}
SCSS
$custom: #7b175f;
$custom-light: #a5618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175f",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 316.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40407,
    "c": 0.15285,
    "h": 342.2
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#7B175F
secondary
#3EB05E
accent
#EB6D3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B175F

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

Preview Lab → · Contrast checker → · Palette generator →

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