#7B1667#7B1667

#7B1667 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.159 H 337.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7B1667
RGBrgb(123, 22, 103)
HSLhsl(312, 70%, 28%)
HSVhsv(312, 82%, 48%)
CMYKcmyk(0%, 82.1%, 16.3%, 51.8%)
CIE-LABlab(28.81, 49.79, -22.14)
CIE-LCHlch(28.81, 54.49, 336.03°)
OKLaboklab(40.75% 0.1474 -0.0602)
OKLCHoklch(40.75% 0.159 337.8)
XYZxyz(10.9037, 5.7651, 13.3679)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1667 #167B2A
analogous
#5C167B #7B1667 #7B1634
triadic
#7B1667 #677B16 #16677B
tetradic
#7B1667 #7B5C16 #167B2A #16347B
square
#7B1667 #7B5C16 #167B2A #16347B
split-complementary
#7B1667 #347B16 #167B5C
monochromatic
#1A0516 #470D3C #7B1667 #AF1F92 #DA31B9

Accessibility & contrast

On white

9.75
#7B1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1667
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1667#FFFFFF#000000##FFFFFF
##7B16671.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#3E4965
Tritanopia (blue-blind)
#821D3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1667;
/* rgb */ color: rgb(123, 22, 103);
/* oklch */ color: oklch(40.8% 0.159 337.8);
Tailwind
colors: {
  custom: {
    50: '#a56192',
    500: '#7b1667',
    950: '#000000',
  },
}
SCSS
$custom: #7b1667;
$custom-light: #a56192;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1667",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 311.881,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.15926,
    "h": 337.8
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#7B1667
secondary
#3DB054
accent
#EC5E3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B1667

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

Preview Lab → · Contrast checker → · Palette generator →

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