#7B1864#7B1864

#7B1864 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.155 H 339.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B1864
RGBrgb(123, 24, 100)
HSLhsl(314, 67%, 29%)
HSVhsv(314, 80%, 48%)
CMYKcmyk(0%, 80.5%, 18.7%, 51.8%)
CIE-LABlab(28.86, 48.76, -20.11)
CIE-LCHlch(28.86, 52.75, 337.58°)
OKLaboklab(40.74% 0.1453 -0.0544)
OKLCHoklch(40.74% 0.155 339.5)
XYZxyz(10.7956, 5.7854, 12.6023)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1864 #187B2F
analogous
#61187B #7B1864 #7B1833
triadic
#7B1864 #647B18 #18647B
tetradic
#7B1864 #7B6118 #187B2F #18337B
square
#7B1864 #7B6118 #187B2F #18337B
split-complementary
#7B1864 #337B18 #187B61
monochromatic
#1A0515 #480E3A #7B1864 #AE228E #D836B2

Accessibility & contrast

On white

9.74
#7B1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1864
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1864#FFFFFF#000000##FFFFFF
##7B18641.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3A66
Deuteranopia (green-blind)
#404A62
Tritanopia (blue-blind)
#831C3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1864;
/* rgb */ color: rgb(123, 24, 100);
/* oklch */ color: oklch(40.7% 0.155 339.5);
Tailwind
colors: {
  custom: {
    50: '#a56190',
    500: '#7b1864',
    950: '#000000',
  },
}
SCSS
$custom: #7b1864;
$custom-light: #a56190;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1864",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 313.939,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.15518,
    "h": 339.5
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#7B1864
secondary
#3FB059
accent
#EA663E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1864

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

Preview Lab → · Contrast checker → · Palette generator →

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