#7B1568#7B1568

#7B1568 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.161 H 337.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B1568
RGBrgb(123, 21, 104)
HSLhsl(311, 71%, 28%)
HSVhsv(311, 83%, 48%)
CMYKcmyk(0%, 82.9%, 15.4%, 51.8%)
CIE-LABlab(28.77, 50.22, -22.86)
CIE-LCHlch(28.77, 55.18, 335.53°)
OKLaboklab(40.74% 0.1484 -0.0622)
OKLCHoklch(40.74% 0.161 337.2)
XYZxyz(10.9355, 5.7478, 13.6275)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1568 #157B28
analogous
#5B157B #7B1568 #7B1535
triadic
#7B1568 #687B15 #15687B
tetradic
#7B1568 #7B5B15 #157B28 #15357B
square
#7B1568 #7B5B15 #157B28 #15357B
split-complementary
#7B1568 #357B15 #157B5B
monochromatic
#1A0416 #470C3C #7B1568 #AF1E94 #DB2FBB

Accessibility & contrast

On white

9.77
#7B1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1568
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1568#FFFFFF#000000##FFFFFF
##7B15681.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3E4966
Tritanopia (blue-blind)
#821C3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1568;
/* rgb */ color: rgb(123, 21, 104);
/* oklch */ color: oklch(40.7% 0.161 337.2);
Tailwind
colors: {
  custom: {
    50: '#a56093',
    500: '#7b1568',
    950: '#000000',
  },
}
SCSS
$custom: #7b1568;
$custom-light: #a56093;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1568",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 311.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.1609,
    "h": 337.2
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#7B1568
secondary
#3BB051
accent
#EE5C3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7B1568

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

Preview Lab → · Contrast checker → · Palette generator →

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