#7E1361#7E1361

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

Color values

HEX#7E1361
RGBrgb(126, 19, 97)
HSLhsl(316, 74%, 28%)
HSVhsv(316, 85%, 49%)
CMYKcmyk(0%, 84.9%, 23%, 50.6%)
CIE-LABlab(28.81, 50.47, -18.20)
CIE-LCHlch(28.81, 53.65, 340.17°)
OKLaboklab(40.76% 0.1521 -0.0489)
OKLCHoklch(40.76% 0.16 342.2)
XYZxyz(10.9951, 5.7656, 11.8408)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1361 #137E30
analogous
#65137E #7E1361 #7E132B
triadic
#7E1361 #617E13 #13617E
tetradic
#7E1361 #7E6513 #137E30 #132B7E
square
#7E1361 #7E6513 #137E30 #132B7E
split-complementary
#7E1361 #2B7E13 #137E65
monochromatic
#1B0414 #490B38 #7E1361 #B31B8A #DF2CAF

Accessibility & contrast

On white

9.75
#7E1361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1361
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1361#FFFFFF#000000##FFFFFF
##7E13611.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1361;
/* rgb */ color: rgb(126, 19, 97);
/* oklch */ color: oklch(40.8% 0.160 342.2);
Tailwind
colors: {
  custom: {
    50: '#a7608e',
    500: '#7e1361',
    950: '#000000',
  },
}
SCSS
$custom: #7e1361;
$custom-light: #a7608e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1361",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 316.262,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.15975,
    "h": 342.2
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#7E1361
secondary
#39B45A
accent
#F06A37
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1361

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

Preview Lab → · Contrast checker → · Palette generator →

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