#7E1D59#7E1D59

#7E1D59 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.145 H 347.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7E1D59
RGBrgb(126, 29, 89)
HSLhsl(323, 63%, 30%)
HSVhsv(323, 77%, 49%)
CMYKcmyk(0%, 77%, 29.4%, 50.6%)
CIE-LABlab(29.51, 46.39, -11.91)
CIE-LCHlch(29.51, 47.89, 345.60°)
OKLaboklab(41.14% 0.1412 -0.0314)
OKLCHoklch(41.14% 0.145 347.5)
XYZxyz(10.8472, 6.0368, 10.0432)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D59 #1D7E42
analogous
#731D7E #7E1D59 #7E1D28
triadic
#7E1D59 #597E1D #1D597E
tetradic
#7E1D59 #7E731D #1D7E42 #1D287E
square
#7E1D59 #7E731D #1D7E42 #1D287E
split-complementary
#7E1D59 #287E1D #1D7E73
monochromatic
#1B0613 #4C1236 #7E1D59 #B0287C #D3429C

Accessibility & contrast

On white

9.51
#7E1D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D59
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D59#FFFFFF#000000##FFFFFF
##7E1D591.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#871938
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d59;
/* rgb */ color: rgb(126, 29, 89);
/* oklch */ color: oklch(41.1% 0.145 347.5);
Tailwind
colors: {
  custom: {
    50: '#a76388',
    500: '#7e1d59',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d59;
$custom-light: #a76388;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d59",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 322.887,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.14465,
    "h": 347.5
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#7E1D59
secondary
#45B16F
accent
#E68142
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1D59

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

Preview Lab → · Contrast checker → · Palette generator →

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