#7B1563#7B1563

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

Color values

HEX#7B1563
RGBrgb(123, 21, 99)
HSLhsl(314, 71%, 28%)
HSVhsv(314, 83%, 48%)
CMYKcmyk(0%, 82.9%, 19.5%, 51.8%)
CIE-LABlab(28.51, 49.49, -20.02)
CIE-LCHlch(28.51, 53.39, 337.98°)
OKLaboklab(40.47% 0.1479 -0.0541)
OKLCHoklch(40.47% 0.157 339.9)
XYZxyz(10.6890, 5.6492, 12.3294)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1563 #157B2D
analogous
#60157B #7B1563 #7B1530
triadic
#7B1563 #637B15 #15637B
tetradic
#7B1563 #7B6015 #157B2D #15307B
square
#7B1563 #7B6015 #157B2D #15307B
split-complementary
#7B1563 #307B15 #157B60
monochromatic
#1A0415 #470C39 #7B1563 #AF1E8D #DB2FB3

Accessibility & contrast

On white

9.86
#7B1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1563
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1563#FFFFFF#000000##FFFFFF
##7B15631.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#83193B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1563;
/* rgb */ color: rgb(123, 21, 99);
/* oklch */ color: oklch(40.5% 0.157 339.9);
Tailwind
colors: {
  custom: {
    50: '#a5608f',
    500: '#7b1563',
    950: '#000000',
  },
}
SCSS
$custom: #7b1563;
$custom-light: #a5608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1563",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 314.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.15745,
    "h": 339.9
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#7B1563
secondary
#3BB057
accent
#EE643A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B1563

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

Preview Lab → · Contrast checker → · Palette generator →

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