#7B1D66#7B1D66

#7B1D66 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.151 H 338.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7B1D66
RGBrgb(123, 29, 102)
HSLhsl(313, 62%, 30%)
HSVhsv(313, 76%, 48%)
CMYKcmyk(0%, 76.4%, 17.1%, 51.8%)
CIE-LABlab(29.54, 47.42, -20.36)
CIE-LCHlch(29.54, 51.61, 336.76°)
OKLaboklab(41.26% 0.1406 -0.0552)
OKLCHoklch(41.26% 0.151 338.6)
XYZxyz(11.0063, 6.0500, 13.1559)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D66 #1D7B32
analogous
#611D7B #7B1D66 #7B1D37
triadic
#7B1D66 #667B1D #1D667B
tetradic
#7B1D66 #7B611D #1D7B32 #1D377B
square
#7B1D66 #7B611D #1D7B32 #1D377B
split-complementary
#7B1D66 #377B1D #1D7B61
monochromatic
#190615 #49113D #7B1D66 #AD298F #D240B2

Accessibility & contrast

On white

9.50
#7B1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7B1D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D66
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D66#FFFFFF#000000##FFFFFF
##7B1D661.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#82213F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1d66;
/* rgb */ color: rgb(123, 29, 102);
/* oklch */ color: oklch(41.3% 0.151 338.6);
Tailwind
colors: {
  custom: {
    50: '#a46392',
    500: '#7b1d66',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d66;
$custom-light: #a46392;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d66",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 313.404,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.15107,
    "h": 338.6
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#7B1D66
secondary
#45AF5D
accent
#E56743
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7B1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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