#7E1362#7E1362

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

Color values

HEX#7E1362
RGBrgb(126, 19, 98)
HSLhsl(316, 74%, 28%)
HSVhsv(316, 85%, 49%)
CMYKcmyk(0%, 84.9%, 22.2%, 50.6%)
CIE-LABlab(28.86, 50.60, -18.77)
CIE-LCHlch(28.86, 53.97, 339.64°)
OKLaboklab(40.81% 0.1522 -0.0505)
OKLCHoklch(40.81% 0.16 341.6)
XYZxyz(11.0421, 5.7844, 12.0879)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1362 #137E2F
analogous
#64137E #7E1362 #7E132C
triadic
#7E1362 #627E13 #13627E
tetradic
#7E1362 #7E6413 #137E2F #132C7E
square
#7E1362 #7E6413 #137E2F #132C7E
split-complementary
#7E1362 #2C7E13 #137E64
monochromatic
#1B0415 #490B39 #7E1362 #B31B8B #DF2CB0

Accessibility & contrast

On white

9.74
#7E1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1362
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1362#FFFFFF#000000##FFFFFF
##7E13621.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3964
Deuteranopia (green-blind)
#424A60
Tritanopia (blue-blind)
#86153A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1362;
/* rgb */ color: rgb(126, 19, 98);
/* oklch */ color: oklch(40.8% 0.160 341.6);
Tailwind
colors: {
  custom: {
    50: '#a7608f',
    500: '#7e1362',
    950: '#000000',
  },
}
SCSS
$custom: #7e1362;
$custom-light: #a7608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1362",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 315.701,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.16038,
    "h": 341.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#7E1362
secondary
#39B459
accent
#F06837
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1362

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

Preview Lab → · Contrast checker → · Palette generator →

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