#7B1E54#7B1E54

#7B1E54 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.138 H 349.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7B1E54
RGBrgb(123, 30, 84)
HSLhsl(325, 61%, 30%)
HSVhsv(325, 76%, 48%)
CMYKcmyk(0%, 75.6%, 31.7%, 51.8%)
CIE-LABlab(28.85, 44.53, -9.67)
CIE-LCHlch(28.85, 45.57, 347.75°)
OKLaboklab(40.49% 0.1359 -0.0253)
OKLCHoklch(40.49% 0.138 349.5)
XYZxyz(10.2334, 5.7808, 8.9627)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E54 #1E7B45
analogous
#731E7B #7B1E54 #7B1E26
triadic
#7B1E54 #547B1E #1E547B
tetradic
#7B1E54 #7B731E #1E7B45 #1E267B
square
#7B1E54 #7B731E #1E7B45 #1E267B
split-complementary
#7B1E54 #267B1E #1E7B73
monochromatic
#190611 #4A1232 #7B1E54 #AC2A76 #D14295

Accessibility & contrast

On white

9.74
#7B1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E54
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E54#FFFFFF#000000##FFFFFF
##7B1E541.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A55
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#841936
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1e54;
/* rgb */ color: rgb(123, 30, 84);
/* oklch */ color: oklch(40.5% 0.138 349.5);
Tailwind
colors: {
  custom: {
    50: '#a56384',
    500: '#7b1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e54;
$custom-light: #a56384;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e54",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 325.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.13824,
    "h": 349.5
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7B1E54
secondary
#46AE72
accent
#E48744
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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