#7B1768#7B1768

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

Color values

HEX#7B1768
RGBrgb(123, 23, 104)
HSLhsl(311, 68%, 29%)
HSVhsv(311, 81%, 48%)
CMYKcmyk(0%, 81.3%, 15.4%, 51.8%)
CIE-LABlab(28.96, 49.65, -22.55)
CIE-LCHlch(28.96, 54.53, 335.58°)
OKLaboklab(40.88% 0.1467 -0.0614)
OKLCHoklch(40.88% 0.159 337.3)
XYZxyz(10.9737, 5.8243, 13.6403)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1768 #177B2A
analogous
#5C177B #7B1768 #7B1736
triadic
#7B1768 #687B17 #17687B
tetradic
#7B1768 #7B5C17 #177B2A #17367B
square
#7B1768 #7B5C17 #177B2A #17367B
split-complementary
#7B1768 #367B17 #177B5C
monochromatic
#1A0516 #470D3C #7B1768 #AF2194 #D933B9

Accessibility & contrast

On white

9.70
#7B1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1768
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1768#FFFFFF#000000##FFFFFF
##7B17681.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3B6A
Deuteranopia (green-blind)
#3E4A66
Tritanopia (blue-blind)
#821E3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1768;
/* rgb */ color: rgb(123, 23, 104);
/* oklch */ color: oklch(40.9% 0.159 337.3);
Tailwind
colors: {
  custom: {
    50: '#a56193',
    500: '#7b1768',
    950: '#000000',
  },
}
SCSS
$custom: #7b1768;
$custom-light: #a56193;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1768",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 311.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.15898,
    "h": 337.3
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#7B1768
secondary
#3EB054
accent
#EB5E3C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B1768

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

Preview Lab → · Contrast checker → · Palette generator →

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