#7E1E6E#7E1E6E

#7E1E6E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.158 H 335.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1E6E
RGBrgb(126, 30, 110)
HSLhsl(310, 62%, 31%)
HSVhsv(310, 76%, 49%)
CMYKcmyk(0%, 76.2%, 12.7%, 50.6%)
CIE-LABlab(30.62, 49.07, -23.77)
CIE-LCHlch(30.62, 54.53, 334.15°)
OKLaboklab(42.28% 0.1437 -0.0649)
OKLCHoklch(42.28% 0.158 335.7)
XYZxyz(11.8831, 6.4910, 15.3759)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E6E #1E7E2E
analogous
#5E1E7E #7E1E6E #7E1E3E
triadic
#7E1E6E #6E7E1E #1E6E7E
tetradic
#7E1E6E #7E5E1E #1E7E2E #1E3E7E
square
#7E1E6E #7E5E1E #1E7E2E #1E3E7E
split-complementary
#7E1E6E #3E7E1E #1E7E5E
monochromatic
#1B0618 #4D1243 #7E1E6E #AF2A99 #D244BB

Accessibility & contrast

On white

9.14
#7E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E6E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E6E#FFFFFF#000000##FFFFFF
##7E1E6E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#852544
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1e6e;
/* rgb */ color: rgb(126, 30, 110);
/* oklch */ color: oklch(42.3% 0.158 335.7);
Tailwind
colors: {
  custom: {
    50: '#a76598',
    500: '#7e1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e6e;
$custom-light: #a76598;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e6e",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 310,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.15763,
    "h": 335.7
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#7E1E6E
secondary
#47B158
accent
#E55E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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