#7B1066#7B1066

#7B1066 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.3% C 0.164 H 338.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7B1066
RGBrgb(123, 16, 102)
HSLhsl(312, 77%, 27%)
HSVhsv(312, 87%, 48%)
CMYKcmyk(0%, 87%, 17.1%, 51.8%)
CIE-LABlab(28.23, 51.19, -22.41)
CIE-LCHlch(28.23, 55.88, 336.36°)
OKLaboklab(40.31% 0.152 -0.0609)
OKLCHoklch(40.31% 0.164 338.2)
XYZxyz(10.7522, 5.5419, 13.0712)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1066 #107B25
analogous
#5B107B #7B1066 #7B1030
triadic
#7B1066 #667B10 #10667B
tetradic
#7B1066 #7B5B10 #107B25 #10307B
square
#7B1066 #7B5B10 #107B25 #10307B
split-complementary
#7B1066 #307B10 #107B5B
monochromatic
#1B0416 #450939 #7B1066 #B11793 #E223BD

Accessibility & contrast

On white

9.96
#7B1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1066
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1066#FFFFFF#000000##FFFFFF
##7B10661.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173868
Deuteranopia (green-blind)
#3D4864
Tritanopia (blue-blind)
#82183C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1066;
/* rgb */ color: rgb(123, 16, 102);
/* oklch */ color: oklch(40.3% 0.164 338.2);
Tailwind
colors: {
  custom: {
    50: '#a55f92',
    500: '#7b1066',
    950: '#000000',
  },
}
SCSS
$custom: #7b1066;
$custom-light: #a55f92;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1066",
  "rgb": {
    "r": 123,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 311.776,
    "s": 76.978,
    "l": 27.255
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.16375,
    "h": 338.2
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7B1066
secondary
#35B24E
accent
#F45A34
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7B1066

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

Preview Lab → · Contrast checker → · Palette generator →

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