#7E1D5B#7E1D5B

#7E1D5B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.146 H 346.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E1D5B
RGBrgb(126, 29, 91)
HSLhsl(322, 63%, 30%)
HSVhsv(322, 77%, 49%)
CMYKcmyk(0%, 77%, 27.8%, 50.6%)
CIE-LABlab(29.59, 46.65, -13.09)
CIE-LCHlch(29.59, 48.45, 344.33°)
OKLaboklab(41.23% 0.1417 -0.0347)
OKLCHoklch(41.23% 0.146 346.2)
XYZxyz(10.9324, 6.0709, 10.4916)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D5B #1D7E40
analogous
#701D7E #7E1D5B #7E1D2B
triadic
#7E1D5B #5B7E1D #1D5B7E
tetradic
#7E1D5B #7E701D #1D7E40 #1D2B7E
square
#7E1D5B #7E701D #1D7E40 #1D2B7E
split-complementary
#7E1D5B #2B7E1D #1D7E70
monochromatic
#1B0613 #4C1237 #7E1D5B #B0287F #D3429F

Accessibility & contrast

On white

9.49
#7E1D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D5B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D5B#FFFFFF#000000##FFFFFF
##7E1D5B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#474C59
Tritanopia (blue-blind)
#871A39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1d5b;
/* rgb */ color: rgb(126, 29, 91);
/* oklch */ color: oklch(41.2% 0.146 346.2);
Tailwind
colors: {
  custom: {
    50: '#a76389',
    500: '#7e1d5b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d5b;
$custom-light: #a76389;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d5b",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 321.649,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41234,
    "c": 0.14584,
    "h": 346.2
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#7E1D5B
secondary
#45B16C
accent
#E67D42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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