#7E1A67#7E1A67

#7E1A67 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.157 H 339.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1A67
RGBrgb(126, 26, 103)
HSLhsl(314, 66%, 30%)
HSVhsv(314, 79%, 49%)
CMYKcmyk(0%, 79.4%, 18.3%, 50.6%)
CIE-LABlab(29.80, 49.33, -20.56)
CIE-LCHlch(29.80, 53.44, 337.38°)
OKLaboklab(41.57% 0.1468 -0.0557)
OKLCHoklch(41.57% 0.157 339.2)
XYZxyz(11.4221, 6.1548, 13.4158)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A67 #1A7E31
analogous
#631A7E #7E1A67 #7E1A35
triadic
#7E1A67 #677E1A #1A677E
tetradic
#7E1A67 #7E631A #1A7E31 #1A357E
square
#7E1A67 #7E631A #1A7E31 #1A357E
split-complementary
#7E1A67 #357E1A #1A7E63
monochromatic
#190515 #4B103E #7E1A67 #B12490 #D73CB3

Accessibility & contrast

On white

9.41
#7E1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A67
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A67#FFFFFF#000000##FFFFFF
##7E1A671.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C69
Deuteranopia (green-blind)
#424C65
Tritanopia (blue-blind)
#861E3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1a67;
/* rgb */ color: rgb(126, 26, 103);
/* oklch */ color: oklch(41.6% 0.157 339.2);
Tailwind
colors: {
  custom: {
    50: '#a76392',
    500: '#7e1a67',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a67;
$custom-light: #a76392;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a67",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 313.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.15703,
    "h": 339.2
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#7E1A67
secondary
#42B25C
accent
#E9663F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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