#7E1F64#7E1F64

#7E1F64 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.149 H 341.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7E1F64
RGBrgb(126, 31, 100)
HSLhsl(316, 61%, 31%)
HSVhsv(316, 75%, 49%)
CMYKcmyk(0%, 75.4%, 20.6%, 50.6%)
CIE-LABlab(30.25, 47.20, -17.92)
CIE-LCHlch(30.25, 50.49, 339.21°)
OKLaboklab(41.84% 0.1413 -0.0482)
OKLCHoklch(41.84% 0.149 341.1)
XYZxyz(11.3948, 6.3368, 12.6771)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F64 #1F7E39
analogous
#681F7E #7E1F64 #7E1F34
triadic
#7E1F64 #647E1F #1F647E
tetradic
#7E1F64 #7E681F #1F7E39 #1F347E
square
#7E1F64 #7E681F #1F7E39 #1F347E
split-complementary
#7E1F64 #347E1F #1F7E68
monochromatic
#1C0716 #4D133D #7E1F64 #AF2B8B #D146AB

Accessibility & contrast

On white

9.26
#7E1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E1F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F64
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F64#FFFFFF#000000##FFFFFF
##7E1F641.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273D66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#86213F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1f64;
/* rgb */ color: rgb(126, 31, 100);
/* oklch */ color: oklch(41.8% 0.149 341.1);
Tailwind
colors: {
  custom: {
    50: '#a76590',
    500: '#7e1f64',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f64;
$custom-light: #a76590;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f64",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 316.421,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41844,
    "c": 0.14928,
    "h": 341.1
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#7E1F64
secondary
#48B165
accent
#E47044
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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