#7B1960#7B1960

#7B1960 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.151 H 341.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7B1960
RGBrgb(123, 25, 96)
HSLhsl(317, 66%, 29%)
HSVhsv(317, 80%, 48%)
CMYKcmyk(0%, 79.7%, 22%, 51.8%)
CIE-LABlab(28.78, 47.88, -17.65)
CIE-LCHlch(28.78, 51.02, 339.76°)
OKLaboklab(40.61% 0.1438 -0.0475)
OKLCHoklch(40.61% 0.151 341.7)
XYZxyz(10.6277, 5.7518, 11.6146)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1960 #197B34
analogous
#65197B #7B1960 #7B192F
triadic
#7B1960 #607B19 #19607B
tetradic
#7B1960 #7B6519 #197B34 #192F7B
square
#7B1960 #7B6519 #197B34 #192F7B
split-complementary
#7B1960 #2F7B19 #197B65
monochromatic
#190514 #480F38 #7B1960 #AE2388 #D738AB

Accessibility & contrast

On white

9.77
#7B1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1960
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1960#FFFFFF#000000##FFFFFF
##7B19601.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A62
Deuteranopia (green-blind)
#424A5E
Tritanopia (blue-blind)
#831B3B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1960;
/* rgb */ color: rgb(123, 25, 96);
/* oklch */ color: oklch(40.6% 0.151 341.7);
Tailwind
colors: {
  custom: {
    50: '#a5628d',
    500: '#7b1960',
    950: '#000000',
  },
}
SCSS
$custom: #7b1960;
$custom-light: #a5628d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1960",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 316.531,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.15142,
    "h": 341.7
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#7B1960
secondary
#40AF5F
accent
#E96E3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1960

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

Preview Lab → · Contrast checker → · Palette generator →

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