#7E1461#7E1461

#7E1461 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.159 H 342.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1461
RGBrgb(126, 20, 97)
HSLhsl(316, 73%, 29%)
HSVhsv(316, 84%, 49%)
CMYKcmyk(0%, 84.1%, 23%, 50.6%)
CIE-LABlab(28.90, 50.21, -18.06)
CIE-LCHlch(28.90, 53.36, 340.22°)
OKLaboklab(40.83% 0.1513 -0.0485)
OKLCHoklch(40.83% 0.159 342.2)
XYZxyz(11.0124, 5.8002, 11.8465)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1461 #147E31
analogous
#66147E #7E1461 #7E142C
triadic
#7E1461 #617E14 #14617E
tetradic
#7E1461 #7E6614 #147E31 #142C7E
square
#7E1461 #7E6614 #147E31 #142C7E
split-complementary
#7E1461 #2C7E14 #147E66
monochromatic
#1A0414 #490C38 #7E1461 #B31C8A #DE2EAE

Accessibility & contrast

On white

9.72
#7E1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1461
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1461#FFFFFF#000000##FFFFFF
##7E14611.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203963
Deuteranopia (green-blind)
#434A5F
Tritanopia (blue-blind)
#86163A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1461;
/* rgb */ color: rgb(126, 20, 97);
/* oklch */ color: oklch(40.8% 0.159 342.2);
Tailwind
colors: {
  custom: {
    50: '#a7608e',
    500: '#7e1461',
    950: '#000000',
  },
}
SCSS
$custom: #7e1461;
$custom-light: #a7608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1461",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 316.415,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.15888,
    "h": 342.2
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#7E1461
secondary
#3AB35C
accent
#EF6B38
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1461

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

Preview Lab → · Contrast checker → · Palette generator →

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