#7E1959#7E1959

#7E1959 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.149 H 347.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E1959
RGBrgb(126, 25, 89)
HSLhsl(322, 67%, 30%)
HSVhsv(322, 80%, 49%)
CMYKcmyk(0%, 80.2%, 29.4%, 50.6%)
CIE-LABlab(29.04, 47.71, -12.62)
CIE-LCHlch(29.04, 49.35, 345.18°)
OKLaboklab(40.81% 0.1453 -0.0333)
OKLCHoklch(40.81% 0.149 347.1)
XYZxyz(10.7555, 5.8534, 10.0127)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1959 #197E3E
analogous
#71197E #7E1959 #7E1927
triadic
#7E1959 #597E19 #19597E
tetradic
#7E1959 #7E7119 #197E3E #19277E
square
#7E1959 #7E7119 #197E3E #19277E
split-complementary
#7E1959 #277E19 #197E71
monochromatic
#1A0512 #4B0F35 #7E1959 #B1237D #D83A9E

Accessibility & contrast

On white

9.68
#7E1959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1959
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1959#FFFFFF#000000##FFFFFF
##7E19591.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395B
Deuteranopia (green-blind)
#474B57
Tritanopia (blue-blind)
#871537
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1959;
/* rgb */ color: rgb(126, 25, 89);
/* oklch */ color: oklch(40.8% 0.149 347.1);
Tailwind
colors: {
  custom: {
    50: '#a76288',
    500: '#7e1959',
    950: '#000000',
  },
}
SCSS
$custom: #7e1959;
$custom-light: #a76288;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1959",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 321.98,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.1491,
    "h": 347.1
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#7E1959
secondary
#41B26A
accent
#EA7D3E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E1959

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

Preview Lab → · Contrast checker → · Palette generator →

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