#7E1367#7E1367

#7E1367 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.164 H 339.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7E1367
RGBrgb(126, 19, 103)
HSLhsl(313, 74%, 28%)
HSVhsv(313, 85%, 49%)
CMYKcmyk(0%, 84.9%, 18.3%, 50.6%)
CIE-LABlab(29.11, 51.30, -21.63)
CIE-LCHlch(29.11, 55.68, 337.14°)
OKLaboklab(41.07% 0.1528 -0.0587)
OKLCHoklch(41.07% 0.164 339)
XYZxyz(11.2856, 5.8818, 13.3703)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1367 #137E2A
analogous
#5F137E #7E1367 #7E1331
triadic
#7E1367 #677E13 #13677E
tetradic
#7E1367 #7E5F13 #137E2A #13317E
square
#7E1367 #7E5F13 #137E2A #13317E
split-complementary
#7E1367 #317E13 #137E5F
monochromatic
#1B0416 #490B3C #7E1367 #B31B92 #DF2CB9

Accessibility & contrast

On white

9.65
#7E1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1367
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1367#FFFFFF#000000##FFFFFF
##7E13671.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#404A65
Tritanopia (blue-blind)
#86193D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1367;
/* rgb */ color: rgb(126, 19, 103);
/* oklch */ color: oklch(41.1% 0.164 339.0);
Tailwind
colors: {
  custom: {
    50: '#a76092',
    500: '#7e1367',
    950: '#000000',
  },
}
SCSS
$custom: #7e1367;
$custom-light: #a76092;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1367",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 312.897,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.16368,
    "h": 339
  },
  "luminance": 0.05881
}

Semantic roles & 50–950 ramp

primary
#7E1367
secondary
#39B454
accent
#F05F37
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E1367

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

Preview Lab → · Contrast checker → · Palette generator →

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