#7B2164#7B2164

#7B2164 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.145 H 339.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7B2164
RGBrgb(123, 33, 100)
HSLhsl(315, 58%, 31%)
HSVhsv(315, 73%, 48%)
CMYKcmyk(0%, 73.2%, 18.7%, 51.8%)
CIE-LABlab(29.96, 45.65, -18.41)
CIE-LCHlch(29.96, 49.22, 338.04°)
OKLaboklab(41.53% 0.1359 -0.0497)
OKLCHoklch(41.53% 0.145 339.9)
XYZxyz(11.0128, 6.2198, 12.6747)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2164 #217B38
analogous
#65217B #7B2164 #7B2137
triadic
#7B2164 #647B21 #21647B
tetradic
#7B2164 #7B6521 #217B38 #21377B
square
#7B2164 #7B6521 #217B38 #21377B
split-complementary
#7B2164 #377B21 #217B65
monochromatic
#1A0716 #4B143D #7B2164 #AB2E8B #CE48AC

Accessibility & contrast

On white

9.36
#7B2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2164
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2164#FFFFFF#000000##FFFFFF
##7B21641.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D66
Deuteranopia (green-blind)
#434C62
Tritanopia (blue-blind)
#82243F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2164;
/* rgb */ color: rgb(123, 33, 100);
/* oklch */ color: oklch(41.5% 0.145 339.9);
Tailwind
colors: {
  custom: {
    50: '#a46590',
    500: '#7b2164',
    950: '#000000',
  },
}
SCSS
$custom: #7b2164;
$custom-light: #a46590;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2164",
  "rgb": {
    "r": 123,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 315.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.1447,
    "h": 339.9
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#7B2164
secondary
#4AAE63
accent
#E16E47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B2164

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

Preview Lab → · Contrast checker → · Palette generator →

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