#7E1E65#7E1E65

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

Color values

HEX#7E1E65
RGBrgb(126, 30, 101)
HSLhsl(316, 62%, 31%)
HSVhsv(316, 76%, 49%)
CMYKcmyk(0%, 76.2%, 19.8%, 50.6%)
CIE-LABlab(30.17, 47.70, -18.69)
CIE-LCHlch(30.17, 51.24, 338.60°)
OKLaboklab(41.8% 0.1425 -0.0504)
OKLCHoklch(41.8% 0.151 340.5)
XYZxyz(11.4178, 6.3049, 12.9250)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E65 #1E7E37
analogous
#671E7E #7E1E65 #7E1E35
triadic
#7E1E65 #657E1E #1E657E
tetradic
#7E1E65 #7E671E #1E7E37 #1E357E
square
#7E1E65 #7E671E #1E7E37 #1E357E
split-complementary
#7E1E65 #357E1E #1E7E67
monochromatic
#1B0616 #4D123D #7E1E65 #AF2A8D #D244AD

Accessibility & contrast

On white

9.29
#7E1E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E1E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E65
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E65#FFFFFF#000000##FFFFFF
##7E1E651.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253D67
Deuteranopia (green-blind)
#444D63
Tritanopia (blue-blind)
#86213F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e65;
/* rgb */ color: rgb(126, 30, 101);
/* oklch */ color: oklch(41.8% 0.151 340.5);
Tailwind
colors: {
  custom: {
    50: '#a76491',
    500: '#7e1e65',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e65;
$custom-light: #a76491;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e65",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 315.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.15116,
    "h": 340.5
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#7E1E65
secondary
#47B162
accent
#E56D43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1E65

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

Preview Lab → · Contrast checker → · Palette generator →

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