#7E1E59#7E1E59

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

Color values

HEX#7E1E59
RGBrgb(126, 30, 89)
HSLhsl(323, 62%, 31%)
HSVhsv(323, 76%, 49%)
CMYKcmyk(0%, 76.2%, 29.4%, 50.6%)
CIE-LABlab(29.63, 46.03, -11.72)
CIE-LCHlch(29.63, 47.50, 345.72°)
OKLaboklab(41.24% 0.1401 -0.0309)
OKLCHoklch(41.24% 0.143 347.6)
XYZxyz(10.8722, 6.0866, 10.0515)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E59 #1E7E43
analogous
#731E7E #7E1E59 #7E1E29
triadic
#7E1E59 #597E1E #1E597E
tetradic
#7E1E59 #7E731E #1E7E43 #1E297E
square
#7E1E59 #7E731E #1E7E43 #1E297E
split-complementary
#7E1E59 #297E1E #1E7E73
monochromatic
#1B0613 #4D1236 #7E1E59 #AF2A7C #D2449C

Accessibility & contrast

On white

9.47
#7E1E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E1E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E59
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E59#FFFFFF#000000##FFFFFF
##7E1E591.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5B
Deuteranopia (green-blind)
#484C57
Tritanopia (blue-blind)
#871A39
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1e59;
/* rgb */ color: rgb(126, 30, 89);
/* oklch */ color: oklch(41.2% 0.143 347.6);
Tailwind
colors: {
  custom: {
    50: '#a76488',
    500: '#7e1e59',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e59;
$custom-light: #a76488;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e59",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 323.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.14346,
    "h": 347.6
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#7E1E59
secondary
#47B170
accent
#E58143
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1E59

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

Preview Lab → · Contrast checker → · Palette generator →

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