#7E1754#7E1754

#7E1754 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 349.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7E1754
RGBrgb(126, 23, 84)
HSLhsl(324, 69%, 29%)
HSVhsv(324, 82%, 49%)
CMYKcmyk(0%, 81.7%, 33.3%, 50.6%)
CIE-LABlab(28.62, 47.69, -9.97)
CIE-LCHlch(28.62, 48.72, 348.19°)
OKLaboklab(40.43% 0.146 -0.026)
OKLCHoklch(40.43% 0.148 349.9)
XYZxyz(10.5114, 5.6898, 8.9305)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1754 #177E41
analogous
#75177E #7E1754 #7E1721
triadic
#7E1754 #547E17 #17547E
tetradic
#7E1754 #7E7517 #177E41 #17217E
square
#7E1754 #7E7517 #177E41 #17217E
split-complementary
#7E1754 #217E17 #177E75
monochromatic
#1A0511 #4A0E31 #7E1754 #B22077 #DA3597

Accessibility & contrast

On white

9.82
#7E1754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1754
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1754#FFFFFF#000000##FFFFFF
##7E17541.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293856
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#880F34
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1754;
/* rgb */ color: rgb(126, 23, 84);
/* oklch */ color: oklch(40.4% 0.148 349.9);
Tailwind
colors: {
  custom: {
    50: '#a86184',
    500: '#7e1754',
    950: '#000000',
  },
}
SCSS
$custom: #7e1754;
$custom-light: #a86184;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1754",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 324.466,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.14833,
    "h": 349.9
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#7E1754
secondary
#3EB36E
accent
#EC843C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1754

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

Preview Lab → · Contrast checker → · Palette generator →

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