#7B1668#7B1668

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

Color values

HEX#7B1668
RGBrgb(123, 22, 104)
HSLhsl(311, 70%, 28%)
HSVhsv(311, 82%, 48%)
CMYKcmyk(0%, 82.1%, 15.4%, 51.8%)
CIE-LABlab(28.86, 49.94, -22.71)
CIE-LCHlch(28.86, 54.86, 335.55°)
OKLaboklab(40.81% 0.1475 -0.0618)
OKLCHoklch(40.81% 0.16 337.3)
XYZxyz(10.9542, 5.7853, 13.6338)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1668 #167B29
analogous
#5B167B #7B1668 #7B1635
triadic
#7B1668 #687B16 #16687B
tetradic
#7B1668 #7B5B16 #167B29 #16357B
square
#7B1668 #7B5B16 #167B29 #16357B
split-complementary
#7B1668 #357B16 #167B5B
monochromatic
#1A0516 #470D3C #7B1668 #AF1F94 #DA31BA

Accessibility & contrast

On white

9.74
#7B1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1668
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1668#FFFFFF#000000##FFFFFF
##7B16681.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1668;
/* rgb */ color: rgb(123, 22, 104);
/* oklch */ color: oklch(40.8% 0.160 337.3);
Tailwind
colors: {
  custom: {
    50: '#a56193',
    500: '#7b1668',
    950: '#000000',
  },
}
SCSS
$custom: #7b1668;
$custom-light: #a56193;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1668",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 311.287,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.15996,
    "h": 337.3
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7B1668
secondary
#3DB052
accent
#EC5D3B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B1668

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

Preview Lab → · Contrast checker → · Palette generator →

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