#7B1762#7B1762

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

Color values

HEX#7B1762
RGBrgb(123, 23, 98)
HSLhsl(315, 68%, 29%)
HSVhsv(315, 81%, 48%)
CMYKcmyk(0%, 81.3%, 20.3%, 51.8%)
CIE-LABlab(28.66, 48.77, -19.13)
CIE-LCHlch(28.66, 52.39, 338.58°)
OKLaboklab(40.56% 0.146 -0.0516)
OKLCHoklch(40.56% 0.155 340.5)
XYZxyz(10.6797, 5.7067, 12.0920)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1762 #177B30
analogous
#62177B #7B1762 #7B1730
triadic
#7B1762 #627B17 #17627B
tetradic
#7B1762 #7B6217 #177B30 #17307B
square
#7B1762 #7B6217 #177B30 #17307B
split-complementary
#7B1762 #307B17 #177B62
monochromatic
#1A0515 #470D39 #7B1762 #AF218B #D933B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1762#FFFFFF#000000##FFFFFF
##7B17621.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)
#203964
Deuteranopia (green-blind)
#414960
Tritanopia (blue-blind)
#831A3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1762;
/* rgb */ color: rgb(123, 23, 98);
/* oklch */ color: oklch(40.6% 0.155 340.5);
Tailwind
colors: {
  custom: {
    50: '#a5618f',
    500: '#7b1762',
    950: '#000000',
  },
}
SCSS
$custom: #7b1762;
$custom-light: #a5618f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1762",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 315,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.15484,
    "h": 340.5
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7B1762
secondary
#3EB05A
accent
#EB683C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B1762

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

Preview Lab → · Contrast checker → · Palette generator →

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