#7B175B#7B175B

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

Color values

HEX#7B175B
RGBrgb(123, 23, 91)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 48%)
CMYKcmyk(0%, 81.3%, 26%, 51.8%)
CIE-LABlab(28.33, 47.80, -15.07)
CIE-LCHlch(28.33, 50.12, 342.50°)
OKLaboklab(40.21% 0.1448 -0.0402)
OKLCHoklch(40.21% 0.15 344.5)
XYZxyz(10.3635, 5.5802, 10.4268)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B175B #177B37
analogous
#69177B #7B175B #7B1729
triadic
#7B175B #5B7B17 #175B7B
tetradic
#7B175B #7B6917 #177B37 #17297B
square
#7B175B #7B6917 #177B37 #17297B
split-complementary
#7B175B #297B17 #177B69
monochromatic
#1A0513 #470D35 #7B175B #AF2181 #D933A4

Accessibility & contrast

On white

9.93
#7B175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B175B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B175B#FFFFFF#000000##FFFFFF
##7B175B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#841637
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b175b;
/* rgb */ color: rgb(123, 23, 91);
/* oklch */ color: oklch(40.2% 0.150 344.5);
Tailwind
colors: {
  custom: {
    50: '#a56189',
    500: '#7b175b',
    950: '#000000',
  },
}
SCSS
$custom: #7b175b;
$custom-light: #a56189;
$custom-dark: #000000;
JSON
{
  "hex": "#7b175b",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 319.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40211,
    "c": 0.15029,
    "h": 344.5
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#7B175B
secondary
#3EB062
accent
#EB743C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B175B

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

Preview Lab → · Contrast checker → · Palette generator →

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