#7E1368#7E1368

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

Color values

HEX#7E1368
RGBrgb(126, 19, 104)
HSLhsl(312, 74%, 28%)
HSVhsv(312, 85%, 49%)
CMYKcmyk(0%, 84.9%, 17.5%, 50.6%)
CIE-LABlab(29.16, 51.45, -22.19)
CIE-LCHlch(29.16, 56.03, 336.66°)
OKLaboklab(41.13% 0.1529 -0.0603)
OKLCHoklch(41.13% 0.164 338.5)
XYZxyz(11.3360, 5.9020, 13.6362)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1368 #137E29
analogous
#5E137E #7E1368 #7E1333
triadic
#7E1368 #687E13 #13687E
tetradic
#7E1368 #7E5E13 #137E29 #13337E
square
#7E1368 #7E5E13 #137E29 #13337E
split-complementary
#7E1368 #337E13 #137E5E
monochromatic
#1B0416 #490B3C #7E1368 #B31B94 #DF2CBA

Accessibility & contrast

On white

9.63
#7E1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1368
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1368#FFFFFF#000000##FFFFFF
##7E13681.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#404A66
Tritanopia (blue-blind)
#861A3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1368;
/* rgb */ color: rgb(126, 19, 104);
/* oklch */ color: oklch(41.1% 0.164 338.5);
Tailwind
colors: {
  custom: {
    50: '#a76093',
    500: '#7e1368',
    950: '#000000',
  },
}
SCSS
$custom: #7e1368;
$custom-light: #a76093;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1368",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 312.336,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41127,
    "c": 0.16436,
    "h": 338.5
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#7E1368
secondary
#39B452
accent
#F05D37
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E1368

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

Preview Lab → · Contrast checker → · Palette generator →

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