#7B1959#7B1959

#7B1959 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 345.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7B1959
RGBrgb(123, 25, 89)
HSLhsl(321, 66%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 79.7%, 27.6%, 51.8%)
CIE-LABlab(28.46, 46.91, -13.56)
CIE-LCHlch(28.46, 48.84, 343.87°)
OKLaboklab(40.27% 0.1425 -0.036)
OKLCHoklch(40.27% 0.147 345.8)
XYZxyz(10.3197, 5.6286, 9.9922)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1959 #197B3B
analogous
#6C197B #7B1959 #7B1928
triadic
#7B1959 #597B19 #19597B
tetradic
#7B1959 #7B6C19 #197B3B #19287B
square
#7B1959 #7B6C19 #197B3B #19287B
split-complementary
#7B1959 #287B19 #197B6C
monochromatic
#190512 #480F34 #7B1959 #AE237E #D7389F

Accessibility & contrast

On white

9.88
#7B1959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B1959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1959
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1959#FFFFFF#000000##FFFFFF
##7B19591.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#841637
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1959;
/* rgb */ color: rgb(123, 25, 89);
/* oklch */ color: oklch(40.3% 0.147 345.8);
Tailwind
colors: {
  custom: {
    50: '#a56188',
    500: '#7b1959',
    950: '#000000',
  },
}
SCSS
$custom: #7b1959;
$custom-light: #a56188;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1959",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 320.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40274,
    "c": 0.14696,
    "h": 345.8
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#7B1959
secondary
#40AF67
accent
#E97A3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1959

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

Preview Lab → · Contrast checker → · Palette generator →

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