#7B174B#7B174B

#7B174B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.142 H 354.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7B174B
RGBrgb(123, 23, 75)
HSLhsl(329, 68%, 29%)
HSVhsv(329, 81%, 48%)
CMYKcmyk(0%, 81.3%, 39%, 51.8%)
CIE-LABlab(27.66, 45.82, -5.49)
CIE-LCHlch(27.66, 46.15, 353.17°)
OKLaboklab(39.51% 0.1408 -0.0139)
OKLCHoklch(39.51% 0.142 354.4)
XYZxyz(9.7454, 5.3330, 7.1714)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B174B #177B47
analogous
#79177B #7B174B #7B1719
triadic
#7B174B #4B7B17 #174B7B
tetradic
#7B174B #7B7917 #177B47 #17197B
square
#7B174B #7B7917 #177B47 #17197B
split-complementary
#7B174B #197B17 #177B79
monochromatic
#1A0510 #470D2C #7B174B #AF216A #D9338A

Accessibility & contrast

On white

10.16
#7B174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B174B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B174B#FFFFFF#000000##FFFFFF
##7B174B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#85092F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b174b;
/* rgb */ color: rgb(123, 23, 75);
/* oklch */ color: oklch(39.5% 0.142 354.4);
Tailwind
colors: {
  custom: {
    50: '#a6607d',
    500: '#7b174b',
    950: '#000000',
  },
}
SCSS
$custom: #7b174b;
$custom-light: #a6607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b174b",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 328.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.14152,
    "h": 354.4
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#7B174B
secondary
#3EB075
accent
#EB903C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B174B

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

Preview Lab → · Contrast checker → · Palette generator →

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