#7E1E50#7E1E50

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

Color values

HEX#7E1E50
RGBrgb(126, 30, 80)
HSLhsl(329, 62%, 31%)
HSVhsv(329, 76%, 49%)
CMYKcmyk(0%, 76.2%, 36.5%, 50.6%)
CIE-LABlab(29.27, 44.90, -6.34)
CIE-LCHlch(29.27, 45.35, 351.96°)
OKLaboklab(40.86% 0.1377 -0.0162)
OKLCHoklch(40.86% 0.139 353.3)
XYZxyz(10.5171, 5.9446, 8.1814)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E50 #1E7E4C
analogous
#7C1E7E #7E1E50 #7E1E20
triadic
#7E1E50 #507E1E #1E507E
tetradic
#7E1E50 #7E7C1E #1E7E4C #1E207E
square
#7E1E50 #7E7C1E #1E7E4C #1E207E
split-complementary
#7E1E50 #207E1E #1E7E7C
monochromatic
#1B0611 #4D1231 #7E1E50 #AF2A6F #D2448E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1E50#FFFFFF#000000##FFFFFF
##7E1E501.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)
#303A51
Deuteranopia (green-blind)
#4B4B4E
Tritanopia (blue-blind)
#881534
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1e50;
/* rgb */ color: rgb(126, 30, 80);
/* oklch */ color: oklch(40.9% 0.139 353.3);
Tailwind
colors: {
  custom: {
    50: '#a76381',
    500: '#7e1e50',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e50;
$custom-light: #a76381;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e50",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 328.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.1386,
    "h": 353.3
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#7E1E50
secondary
#47B17A
accent
#E59143
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1E50

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

Preview Lab → · Contrast checker → · Palette generator →

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