#7B1565#7B1565

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

Color values

HEX#7B1565
RGBrgb(123, 21, 101)
HSLhsl(313, 71%, 28%)
HSVhsv(313, 83%, 48%)
CMYKcmyk(0%, 82.9%, 17.9%, 51.8%)
CIE-LABlab(28.61, 49.78, -21.16)
CIE-LCHlch(28.61, 54.09, 336.97°)
OKLaboklab(40.57% 0.1481 -0.0574)
OKLCHoklch(40.57% 0.159 338.8)
XYZxyz(10.7858, 5.6880, 12.8393)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1565 #157B2B
analogous
#5E157B #7B1565 #7B1532
triadic
#7B1565 #657B15 #15657B
tetradic
#7B1565 #7B5E15 #157B2B #15327B
square
#7B1565 #7B5E15 #157B2B #15327B
split-complementary
#7B1565 #327B15 #157B5E
monochromatic
#1A0415 #470C3A #7B1565 #AF1E90 #DB2FB6

Accessibility & contrast

On white

9.83
#7B1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1565
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1565#FFFFFF#000000##FFFFFF
##7B15651.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#3F4963
Tritanopia (blue-blind)
#821B3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1565;
/* rgb */ color: rgb(123, 21, 101);
/* oklch */ color: oklch(40.6% 0.159 338.8);
Tailwind
colors: {
  custom: {
    50: '#a56091',
    500: '#7b1565',
    950: '#000000',
  },
}
SCSS
$custom: #7b1565;
$custom-light: #a56091;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1565",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 312.941,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.15881,
    "h": 338.8
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#7B1565
secondary
#3BB055
accent
#EE613A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B1565

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

Preview Lab → · Contrast checker → · Palette generator →

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