#7E1059#7E1059

#7E1059 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.157 H 346.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E1059
RGBrgb(126, 16, 89)
HSLhsl(320, 77%, 28%)
HSVhsv(320, 87%, 49%)
CMYKcmyk(0%, 87.3%, 29.4%, 50.6%)
CIE-LABlab(28.19, 50.14, -13.92)
CIE-LCHlch(28.19, 52.04, 344.49°)
OKLaboklab(40.19% 0.1529 -0.0369)
OKLCHoklch(40.19% 0.157 346.4)
XYZxyz(10.5932, 5.5287, 9.9586)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1059 #107E35
analogous
#6C107E #7E1059 #7E1022
triadic
#7E1059 #597E10 #10597E
tetradic
#7E1059 #7E6C10 #107E35 #10227E
square
#7E1059 #7E6C10 #107E35 #10227E
split-complementary
#7E1059 #227E10 #107E6C
monochromatic
#1B0313 #480933 #7E1059 #B4177F #E325A3

Accessibility & contrast

On white

9.97
#7E1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1059
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1059#FFFFFF#000000##FFFFFF
##7E10591.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375B
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#870B34
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1059;
/* rgb */ color: rgb(126, 16, 89);
/* oklch */ color: oklch(40.2% 0.157 346.4);
Tailwind
colors: {
  custom: {
    50: '#a85f88',
    500: '#7e1059',
    950: '#000000',
  },
}
SCSS
$custom: #7e1059;
$custom-light: #a85f88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1059",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 320.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.15732,
    "h": 346.4
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#7E1059
secondary
#36B460
accent
#F47434
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #7E1059

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

Preview Lab → · Contrast checker → · Palette generator →

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