#7E1154#7E1154

#7E1154 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.154 H 349.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7E1154
RGBrgb(126, 17, 84)
HSLhsl(323, 76%, 28%)
HSVhsv(323, 87%, 49%)
CMYKcmyk(0%, 86.5%, 33.3%, 50.6%)
CIE-LABlab(28.06, 49.30, -10.82)
CIE-LCHlch(28.06, 50.47, 347.62°)
OKLaboklab(40.02% 0.1511 -0.0283)
OKLCHoklch(40.02% 0.154 349.4)
XYZxyz(10.4055, 5.4779, 8.8952)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1154 #117E3B
analogous
#71117E #7E1154 #7E111E
triadic
#7E1154 #547E11 #11547E
tetradic
#7E1154 #7E7111 #117E3B #111E7E
square
#7E1154 #7E7111 #117E3B #111E7E
split-complementary
#7E1154 #1E7E11 #117E71
monochromatic
#1B0412 #480A30 #7E1154 #B41878 #E2279A

Accessibility & contrast

On white

10.02
#7E1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1154
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1154#FFFFFF#000000##FFFFFF
##7E11541.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263656
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#880632
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1154;
/* rgb */ color: rgb(126, 17, 84);
/* oklch */ color: oklch(40.0% 0.154 349.4);
Tailwind
colors: {
  custom: {
    50: '#a85f84',
    500: '#7e1154',
    950: '#000000',
  },
}
SCSS
$custom: #7e1154;
$custom-light: #a85f84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1154",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 323.119,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.15375,
    "h": 349.4
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#7E1154
secondary
#37B467
accent
#F37E35
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1154

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

Preview Lab → · Contrast checker → · Palette generator →

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