#7E1E67#7E1E67

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

Color values

HEX#7E1E67
RGBrgb(126, 30, 103)
HSLhsl(314, 62%, 31%)
HSVhsv(314, 76%, 49%)
CMYKcmyk(0%, 76.2%, 18.3%, 50.6%)
CIE-LABlab(30.27, 48.00, -19.83)
CIE-LCHlch(30.27, 51.93, 337.55°)
OKLaboklab(41.91% 0.1428 -0.0536)
OKLCHoklch(41.91% 0.153 339.4)
XYZxyz(11.5169, 6.3446, 13.4474)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E67 #1E7E35
analogous
#651E7E #7E1E67 #7E1E37
triadic
#7E1E67 #677E1E #1E677E
tetradic
#7E1E67 #7E651E #1E7E35 #1E377E
square
#7E1E67 #7E651E #1E7E35 #1E377E
split-complementary
#7E1E67 #377E1E #1E7E65
monochromatic
#1B0616 #4D123F #7E1E67 #AF2A8F #D244B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1E67#FFFFFF#000000##FFFFFF
##7E1E671.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)
#243E69
Deuteranopia (green-blind)
#434D65
Tritanopia (blue-blind)
#862240
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1e67;
/* rgb */ color: rgb(126, 30, 103);
/* oklch */ color: oklch(41.9% 0.153 339.4);
Tailwind
colors: {
  custom: {
    50: '#a76492',
    500: '#7e1e67',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e67;
$custom-light: #a76492;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e67",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 103
  },
  "hsl": {
    "h": 314.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.15255,
    "h": 339.4
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#7E1E67
secondary
#47B160
accent
#E56A43
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1E67

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

Preview Lab → · Contrast checker → · Palette generator →

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