#7B1966#7B1966

#7B1966 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.156 H 338.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7B1966
RGBrgb(123, 25, 102)
HSLhsl(313, 66%, 29%)
HSVhsv(313, 80%, 48%)
CMYKcmyk(0%, 79.7%, 17.1%, 51.8%)
CIE-LABlab(29.07, 48.75, -21.08)
CIE-LCHlch(29.07, 53.11, 336.61°)
OKLaboklab(40.92% 0.1446 -0.0572)
OKLCHoklch(40.92% 0.156 338.4)
XYZxyz(10.9145, 5.8666, 13.1253)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1966 #197B2E
analogous
#5F197B #7B1966 #7B1935
triadic
#7B1966 #667B19 #19667B
tetradic
#7B1966 #7B5F19 #197B2E #19357B
square
#7B1966 #7B5F19 #197B2E #19357B
split-complementary
#7B1966 #357B19 #197B5F
monochromatic
#190515 #480F3C #7B1966 #AE2390 #D738B5

Accessibility & contrast

On white

9.66
#7B1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1966
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1966#FFFFFF#000000##FFFFFF
##7B19661.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#821E3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b1966;
/* rgb */ color: rgb(123, 25, 102);
/* oklch */ color: oklch(40.9% 0.156 338.4);
Tailwind
colors: {
  custom: {
    50: '#a56292',
    500: '#7b1966',
    950: '#000000',
  },
}
SCSS
$custom: #7b1966;
$custom-light: #a56292;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1966",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 312.857,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.15553,
    "h": 338.4
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#7B1966
secondary
#40AF58
accent
#E9633F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #7B1966

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

Preview Lab → · Contrast checker → · Palette generator →

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