#7B1954#7B1954

#7B1954 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.144 H 348.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7B1954
RGBrgb(123, 25, 84)
HSLhsl(324, 66%, 29%)
HSVhsv(324, 80%, 48%)
CMYKcmyk(0%, 79.7%, 31.7%, 51.8%)
CIE-LABlab(28.24, 46.26, -10.60)
CIE-LCHlch(28.24, 47.46, 347.10°)
OKLaboklab(40.05% 0.1413 -0.0278)
OKLCHoklch(40.05% 0.144 348.9)
XYZxyz(10.1168, 5.5475, 8.9238)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1954 #197B40
analogous
#71197B #7B1954 #7B1923
triadic
#7B1954 #547B19 #19547B
tetradic
#7B1954 #7B7119 #197B40 #19237B
square
#7B1954 #7B7119 #197B40 #19237B
split-complementary
#7B1954 #237B19 #197B71
monochromatic
#190511 #480F31 #7B1954 #AE2377 #D73897

Accessibility & contrast

On white

9.96
#7B1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1954
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1954#FFFFFF#000000##FFFFFF
##7B19541.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#841334
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1954;
/* rgb */ color: rgb(123, 25, 84);
/* oklch */ color: oklch(40.0% 0.144 348.9);
Tailwind
colors: {
  custom: {
    50: '#a56184',
    500: '#7b1954',
    950: '#000000',
  },
}
SCSS
$custom: #7b1954;
$custom-light: #a56184;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1954",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 323.878,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40048,
    "c": 0.14404,
    "h": 348.9
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7B1954
secondary
#40AF6D
accent
#E9833F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1954

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

Preview Lab → · Contrast checker → · Palette generator →

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