#7B1958#7B1958

#7B1958 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 346.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7B1958
RGBrgb(123, 25, 88)
HSLhsl(321, 66%, 29%)
HSVhsv(321, 80%, 48%)
CMYKcmyk(0%, 79.7%, 28.5%, 51.8%)
CIE-LABlab(28.41, 46.78, -12.97)
CIE-LCHlch(28.41, 48.55, 344.50°)
OKLaboklab(40.23% 0.1423 -0.0344)
OKLCHoklch(40.23% 0.146 346.4)
XYZxyz(10.2779, 5.6119, 9.7726)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1958 #197B3C
analogous
#6D197B #7B1958 #7B1927
triadic
#7B1958 #587B19 #19587B
tetradic
#7B1958 #7B6D19 #197B3C #19277B
square
#7B1958 #7B6D19 #197B3C #19277B
split-complementary
#7B1958 #277B19 #197B6D
monochromatic
#190512 #480F34 #7B1958 #AE237C #D7389E

Accessibility & contrast

On white

9.90
#7B1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1958
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1958#FFFFFF#000000##FFFFFF
##7B19581.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#841636
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1958;
/* rgb */ color: rgb(123, 25, 88);
/* oklch */ color: oklch(40.2% 0.146 346.4);
Tailwind
colors: {
  custom: {
    50: '#a56187',
    500: '#7b1958',
    950: '#000000',
  },
}
SCSS
$custom: #7b1958;
$custom-light: #a56187;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1958",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 321.429,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.14635,
    "h": 346.4
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#7B1958
secondary
#40AF68
accent
#E97C3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1958

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

Preview Lab → · Contrast checker → · Palette generator →

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