#7E1854#7E1854

#7E1854 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 350.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7E1854
RGBrgb(126, 24, 84)
HSLhsl(325, 68%, 29%)
HSVhsv(325, 81%, 49%)
CMYKcmyk(0%, 81%, 33.3%, 50.6%)
CIE-LABlab(28.72, 47.39, -9.81)
CIE-LCHlch(28.72, 48.40, 348.30°)
OKLaboklab(40.51% 0.1451 -0.0256)
OKLCHoklch(40.51% 0.147 350)
XYZxyz(10.5317, 5.7302, 8.9372)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1854 #187E42
analogous
#75187E #7E1854 #7E1821
triadic
#7E1854 #547E18 #18547E
tetradic
#7E1854 #7E7518 #187E42 #18217E
square
#7E1854 #7E7518 #187E42 #18217E
split-complementary
#7E1854 #217E18 #187E75
monochromatic
#1A0511 #4B0E32 #7E1854 #B12276 #D93796

Accessibility & contrast

On white

9.79
#7E1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1854
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1854#FFFFFF#000000##FFFFFF
##7E18541.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#881034
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1854;
/* rgb */ color: rgb(126, 24, 84);
/* oklch */ color: oklch(40.5% 0.147 350.0);
Tailwind
colors: {
  custom: {
    50: '#a76184',
    500: '#7e1854',
    950: '#000000',
  },
}
SCSS
$custom: #7e1854;
$custom-light: #a76184;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1854",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 324.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.14732,
    "h": 350
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#7E1854
secondary
#3FB26F
accent
#EB853D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1854

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

Preview Lab → · Contrast checker → · Palette generator →

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