#7B1964#7B1964

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

Color values

HEX#7B1964
RGBrgb(123, 25, 100)
HSLhsl(314, 66%, 29%)
HSVhsv(314, 80%, 48%)
CMYKcmyk(0%, 79.7%, 18.7%, 51.8%)
CIE-LABlab(28.97, 48.45, -19.95)
CIE-LCHlch(28.97, 52.40, 337.62°)
OKLaboklab(40.82% 0.1444 -0.054)
OKLCHoklch(40.82% 0.154 339.5)
XYZxyz(10.8166, 5.8274, 12.6093)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1964 #197B30
analogous
#61197B #7B1964 #7B1933
triadic
#7B1964 #647B19 #19647B
tetradic
#7B1964 #7B6119 #197B30 #19337B
square
#7B1964 #7B6119 #197B30 #19337B
split-complementary
#7B1964 #337B19 #197B61
monochromatic
#190515 #480F3B #7B1964 #AE238D #D738B1

Accessibility & contrast

On white

9.70
#7B1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1964
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1964#FFFFFF#000000##FFFFFF
##7B19641.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203A66
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#831D3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1964;
/* rgb */ color: rgb(123, 25, 100);
/* oklch */ color: oklch(40.8% 0.154 339.5);
Tailwind
colors: {
  custom: {
    50: '#a56290',
    500: '#7b1964',
    950: '#000000',
  },
}
SCSS
$custom: #7b1964;
$custom-light: #a56290;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1964",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 314.082,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40817,
    "c": 0.15414,
    "h": 339.5
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#7B1964
secondary
#40AF5A
accent
#E9673F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1964

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

Preview Lab → · Contrast checker → · Palette generator →

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