#7B1D64#7B1D64

#7B1D64 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.150 H 339.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7B1D64
RGBrgb(123, 29, 100)
HSLhsl(315, 62%, 30%)
HSVhsv(315, 76%, 48%)
CMYKcmyk(0%, 76.4%, 18.7%, 51.8%)
CIE-LABlab(29.44, 47.12, -19.22)
CIE-LCHlch(29.44, 50.89, 337.81°)
OKLaboklab(41.15% 0.1404 -0.0519)
OKLCHoklch(41.15% 0.15 339.7)
XYZxyz(10.9083, 6.0109, 12.6398)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D64 #1D7B34
analogous
#631D7B #7B1D64 #7B1D35
triadic
#7B1D64 #647B1D #1D647B
tetradic
#7B1D64 #7B631D #1D7B34 #1D357B
square
#7B1D64 #7B631D #1D7B34 #1D357B
split-complementary
#7B1D64 #357B1D #1D7B63
monochromatic
#190614 #49113C #7B1D64 #AD298C #D240AE

Accessibility & contrast

On white

9.54
#7B1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D64
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D64#FFFFFF#000000##FFFFFF
##7B1D641.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C66
Deuteranopia (green-blind)
#424B62
Tritanopia (blue-blind)
#82203E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1d64;
/* rgb */ color: rgb(123, 29, 100);
/* oklch */ color: oklch(41.2% 0.150 339.7);
Tailwind
colors: {
  custom: {
    50: '#a56390',
    500: '#7b1d64',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d64;
$custom-light: #a56390;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d64",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 314.681,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.14965,
    "h": 339.7
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#7B1D64
secondary
#45AF5F
accent
#E56B43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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