#7E1B59#7E1B59

#7E1B59 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.147 H 347.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1B59
RGBrgb(126, 27, 89)
HSLhsl(322, 65%, 30%)
HSVhsv(322, 79%, 49%)
CMYKcmyk(0%, 78.6%, 29.4%, 50.6%)
CIE-LABlab(29.27, 47.06, -12.27)
CIE-LCHlch(29.27, 48.64, 345.38°)
OKLaboklab(40.97% 0.1433 -0.0324)
OKLCHoklch(40.97% 0.147 347.3)
XYZxyz(10.7998, 5.9420, 10.0274)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B59 #1B7E40
analogous
#711B7E #7E1B59 #7E1B28
triadic
#7E1B59 #597E1B #1B597E
tetradic
#7E1B59 #7E711B #1B7E40 #1B287E
square
#7E1B59 #7E711B #1B7E40 #1B287E
split-complementary
#7E1B59 #287E1B #1B7E71
monochromatic
#190512 #4C1035 #7E1B59 #B0267D #D63E9D

Accessibility & contrast

On white

9.60
#7E1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E1B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B59
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B59#FFFFFF#000000##FFFFFF
##7E1B591.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#871738
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1b59;
/* rgb */ color: rgb(126, 27, 89);
/* oklch */ color: oklch(41.0% 0.147 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76288',
    500: '#7e1b59',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b59;
$custom-light: #a76288;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b59",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 322.424,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.14693,
    "h": 347.3
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7E1B59
secondary
#43B26C
accent
#E87F40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1B59

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

Preview Lab → · Contrast checker → · Palette generator →

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