#7B1566#7B1566

#7B1566 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.160 H 338.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7B1566
RGBrgb(123, 21, 102)
HSLhsl(312, 71%, 28%)
HSVhsv(312, 83%, 48%)
CMYKcmyk(0%, 82.9%, 17.1%, 51.8%)
CIE-LABlab(28.66, 49.93, -21.73)
CIE-LCHlch(28.66, 54.45, 336.48°)
OKLaboklab(40.63% 0.1482 -0.059)
OKLCHoklch(40.63% 0.16 338.3)
XYZxyz(10.8351, 5.7077, 13.0989)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1566 #157B2A
analogous
#5D157B #7B1566 #7B1533
triadic
#7B1566 #667B15 #15667B
tetradic
#7B1566 #7B5D15 #157B2A #15337B
square
#7B1566 #7B5D15 #157B2A #15337B
split-complementary
#7B1566 #337B15 #157B5D
monochromatic
#1A0416 #470C3B #7B1566 #AF1E91 #DB2FB8

Accessibility & contrast

On white

9.81
#7B1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B1566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1566
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1566#FFFFFF#000000##FFFFFF
##7B15661.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#3E4964
Tritanopia (blue-blind)
#821B3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1566;
/* rgb */ color: rgb(123, 21, 102);
/* oklch */ color: oklch(40.6% 0.160 338.3);
Tailwind
colors: {
  custom: {
    50: '#a56092',
    500: '#7b1566',
    950: '#000000',
  },
}
SCSS
$custom: #7b1566;
$custom-light: #a56092;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1566",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 312.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.1595,
    "h": 338.3
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#7B1566
secondary
#3BB054
accent
#EE5F3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7B1566

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

Preview Lab → · Contrast checker → · Palette generator →

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