#7B1366#7B1366

#7B1366 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.5% C 0.161 H 338.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7B1366
RGBrgb(123, 19, 102)
HSLhsl(312, 73%, 28%)
HSVhsv(312, 85%, 48%)
CMYKcmyk(0%, 84.6%, 17.1%, 51.8%)
CIE-LABlab(28.48, 50.46, -22.02)
CIE-LCHlch(28.48, 55.05, 336.43°)
OKLaboklab(40.49% 0.1498 -0.0598)
OKLCHoklch(40.49% 0.161 338.2)
XYZxyz(10.7998, 5.6371, 13.0871)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1366 #137B28
analogous
#5C137B #7B1366 #7B1332
triadic
#7B1366 #667B13 #13667B
tetradic
#7B1366 #7B5C13 #137B28 #13327B
square
#7B1366 #7B5C13 #137B28 #13327B
split-complementary
#7B1366 #327B13 #137B5C
monochromatic
#1B0416 #460B3A #7B1366 #B01B92 #DE2ABA

Accessibility & contrast

On white

9.87
#7B1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1366
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1366#FFFFFF#000000##FFFFFF
##7B13661.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193968
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#821A3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1366;
/* rgb */ color: rgb(123, 19, 102);
/* oklch */ color: oklch(40.5% 0.161 338.2);
Tailwind
colors: {
  custom: {
    50: '#a56092',
    500: '#7b1366',
    950: '#000000',
  },
}
SCSS
$custom: #7b1366;
$custom-light: #a56092;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1366",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 312.115,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.16129,
    "h": 338.2
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#7B1366
secondary
#39B151
accent
#F05D38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7B1366

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

Preview Lab → · Contrast checker → · Palette generator →

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