#7B1564#7B1564

#7B1564 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.158 H 339.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7B1564
RGBrgb(123, 21, 100)
HSLhsl(314, 71%, 28%)
HSVhsv(314, 83%, 48%)
CMYKcmyk(0%, 82.9%, 18.7%, 51.8%)
CIE-LABlab(28.56, 49.64, -20.59)
CIE-LCHlch(28.56, 53.74, 337.47°)
OKLaboklab(40.52% 0.148 -0.0558)
OKLCHoklch(40.52% 0.158 339.3)
XYZxyz(10.7371, 5.6685, 12.5828)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1564 #157B2C
analogous
#5F157B #7B1564 #7B1531
triadic
#7B1564 #647B15 #15647B
tetradic
#7B1564 #7B5F15 #157B2C #15317B
square
#7B1564 #7B5F15 #157B2C #15317B
split-complementary
#7B1564 #317B15 #157B5F
monochromatic
#1A0415 #470C39 #7B1564 #AF1E8E #DB2FB5

Accessibility & contrast

On white

9.84
#7B1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1564
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1564#FFFFFF#000000##FFFFFF
##7B15641.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3966
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#831A3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1564;
/* rgb */ color: rgb(123, 21, 100);
/* oklch */ color: oklch(40.5% 0.158 339.3);
Tailwind
colors: {
  custom: {
    50: '#a56090',
    500: '#7b1564',
    950: '#000000',
  },
}
SCSS
$custom: #7b1564;
$custom-light: #a56090;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1564",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 313.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.15813,
    "h": 339.3
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#7B1564
secondary
#3BB056
accent
#EE633A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B1564

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

Preview Lab → · Contrast checker → · Palette generator →

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