#7E1D67#7E1D67

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

Color values

HEX#7E1D67
RGBrgb(126, 29, 103)
HSLhsl(314, 63%, 30%)
HSVhsv(314, 77%, 49%)
CMYKcmyk(0%, 77%, 18.3%, 50.6%)
CIE-LABlab(30.14, 48.34, -20.02)
CIE-LCHlch(30.14, 52.33, 337.51°)
OKLaboklab(41.82% 0.1439 -0.0541)
OKLCHoklch(41.82% 0.154 339.4)
XYZxyz(11.4920, 6.2947, 13.4391)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D67 #1D7E34
analogous
#641D7E #7E1D67 #7E1D36
triadic
#7E1D67 #677E1D #1D677E
tetradic
#7E1D67 #7E641D #1D7E34 #1D367E
square
#7E1D67 #7E641D #1D7E34 #1D367E
split-complementary
#7E1D67 #367E1D #1D7E64
monochromatic
#1B0616 #4C123E #7E1D67 #B02890 #D342B1

Accessibility & contrast

On white

9.30
#7E1D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D67
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D67#FFFFFF#000000##FFFFFF
##7E1D671.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#862140
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1d67;
/* rgb */ color: rgb(126, 29, 103);
/* oklch */ color: oklch(41.8% 0.154 339.4);
Tailwind
colors: {
  custom: {
    50: '#a76492',
    500: '#7e1d67',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d67;
$custom-light: #a76492;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d67",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 314.227,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.15371,
    "h": 339.4
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#7E1D67
secondary
#45B15F
accent
#E66942
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1D67

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

Preview Lab → · Contrast checker → · Palette generator →

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