#7B1E56#7B1E56

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

Color values

HEX#7B1E56
RGBrgb(123, 30, 86)
HSLhsl(324, 61%, 30%)
HSVhsv(324, 76%, 48%)
CMYKcmyk(0%, 75.6%, 30.1%, 51.8%)
CIE-LABlab(28.93, 44.80, -10.86)
CIE-LCHlch(28.93, 46.09, 346.37°)
OKLaboklab(40.58% 0.1364 -0.0286)
OKLCHoklch(40.58% 0.139 348.2)
XYZxyz(10.3129, 5.8125, 9.3811)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E56 #1E7B43
analogous
#711E7B #7B1E56 #7B1E28
triadic
#7B1E56 #567B1E #1E567B
tetradic
#7B1E56 #7B711E #1E7B43 #1E287B
square
#7B1E56 #7B711E #1E7B43 #1E287B
split-complementary
#7B1E56 #287B1E #1E7B71
monochromatic
#190611 #4A1234 #7B1E56 #AC2A78 #D14298

Accessibility & contrast

On white

9.71
#7B1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1E56
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E56#FFFFFF#000000##FFFFFF
##7B1E561.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A58
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#841A37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1e56;
/* rgb */ color: rgb(123, 30, 86);
/* oklch */ color: oklch(40.6% 0.139 348.2);
Tailwind
colors: {
  custom: {
    50: '#a56385',
    500: '#7b1e56',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e56;
$custom-light: #a56385;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e56",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 323.871,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.13939,
    "h": 348.2
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#7B1E56
secondary
#46AE70
accent
#E48444
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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