#7E1354#7E1354

#7E1354 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 349.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E1354
RGBrgb(126, 19, 84)
HSLhsl(324, 74%, 28%)
HSVhsv(324, 85%, 49%)
CMYKcmyk(0%, 84.9%, 33.3%, 50.6%)
CIE-LABlab(28.23, 48.80, -10.56)
CIE-LCHlch(28.23, 49.93, 347.79°)
OKLaboklab(40.15% 0.1495 -0.0276)
OKLCHoklch(40.15% 0.152 349.5)
XYZxyz(10.4379, 5.5427, 8.9060)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1354 #137E3D
analogous
#72137E #7E1354 #7E131F
triadic
#7E1354 #547E13 #13547E
tetradic
#7E1354 #7E7213 #137E3D #131F7E
square
#7E1354 #7E7213 #137E3D #131F7E
split-complementary
#7E1354 #1F7E13 #137E72
monochromatic
#1B0412 #490B31 #7E1354 #B31B77 #DF2C99

Accessibility & contrast

On white

9.96
#7E1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1354
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1354#FFFFFF#000000##FFFFFF
##7E13541.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273756
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#880932
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1354;
/* rgb */ color: rgb(126, 19, 84);
/* oklch */ color: oklch(40.1% 0.152 349.5);
Tailwind
colors: {
  custom: {
    50: '#a85f84',
    500: '#7e1354',
    950: '#000000',
  },
}
SCSS
$custom: #7e1354;
$custom-light: #a85f84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1354",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 323.551,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.15207,
    "h": 349.5
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7E1354
secondary
#39B469
accent
#F08037
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1354

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

Preview Lab → · Contrast checker → · Palette generator →

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