#7E1A5B#7E1A5B

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

Color values

HEX#7E1A5B
RGBrgb(126, 26, 91)
HSLhsl(321, 66%, 30%)
HSVhsv(321, 79%, 49%)
CMYKcmyk(0%, 79.4%, 27.8%, 50.6%)
CIE-LABlab(29.24, 47.65, -13.63)
CIE-LCHlch(29.24, 49.56, 344.04°)
OKLaboklab(40.98% 0.1448 -0.0361)
OKLCHoklch(40.98% 0.149 346)
XYZxyz(10.8624, 5.9309, 10.4682)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A5B #1A7E3D
analogous
#6F1A7E #7E1A5B #7E1A29
triadic
#7E1A5B #5B7E1A #1A5B7E
tetradic
#7E1A5B #7E6F1A #1A7E3D #1A297E
square
#7E1A5B #7E6F1A #1A7E3D #1A297E
split-complementary
#7E1A5B #297E1A #1A7E6F
monochromatic
#190512 #4B1036 #7E1A5B #B12480 #D73CA0

Accessibility & contrast

On white

9.61
#7E1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A5B
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A5B#FFFFFF#000000##FFFFFF
##7E1A5B1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#871738
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1a5b;
/* rgb */ color: rgb(126, 26, 91);
/* oklch */ color: oklch(41.0% 0.149 346.0);
Tailwind
colors: {
  custom: {
    50: '#a76289',
    500: '#7e1a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a5b;
$custom-light: #a76289;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a5b",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 321,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40978,
    "c": 0.14922,
    "h": 346
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#7E1A5B
secondary
#42B269
accent
#E97A3F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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