#7E1D50#7E1D50

#7E1D50 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.140 H 353.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1D50
RGBrgb(126, 29, 80)
HSLhsl(328, 63%, 30%)
HSVhsv(328, 77%, 49%)
CMYKcmyk(0%, 77%, 36.5%, 50.6%)
CIE-LABlab(29.15, 45.26, -6.53)
CIE-LCHlch(29.15, 45.73, 351.79°)
OKLaboklab(40.76% 0.1388 -0.0167)
OKLCHoklch(40.76% 0.14 353.1)
XYZxyz(10.4922, 5.8948, 8.1731)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D50 #1D7E4B
analogous
#7C1D7E #7E1D50 #7E1D1F
triadic
#7E1D50 #507E1D #1D507E
tetradic
#7E1D50 #7E7C1D #1D7E4B #1D1F7E
square
#7E1D50 #7E7C1D #1D7E4B #1D1F7E
split-complementary
#7E1D50 #1F7E1D #1D7E7C
monochromatic
#1B0611 #4C1230 #7E1D50 #B02870 #D3428E

Accessibility & contrast

On white

9.64
#7E1D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D50
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D50#FFFFFF#000000##FFFFFF
##7E1D501.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3951
Deuteranopia (green-blind)
#4A4B4E
Tritanopia (blue-blind)
#881434
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1d50;
/* rgb */ color: rgb(126, 29, 80);
/* oklch */ color: oklch(40.8% 0.140 353.1);
Tailwind
colors: {
  custom: {
    50: '#a76381',
    500: '#7e1d50',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d50;
$custom-light: #a76381;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d50",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 328.454,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.13977,
    "h": 353.1
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#7E1D50
secondary
#45B179
accent
#E69042
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1D50

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

Preview Lab → · Contrast checker → · Palette generator →

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