#7E1058#7E1058

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

Color values

HEX#7E1058
RGBrgb(126, 16, 88)
HSLhsl(321, 77%, 28%)
HSVhsv(321, 87%, 49%)
CMYKcmyk(0%, 87.3%, 30.2%, 50.6%)
CIE-LABlab(28.15, 50.02, -13.33)
CIE-LCHlch(28.15, 51.76, 345.08°)
OKLaboklab(40.14% 0.1527 -0.0353)
OKLCHoklch(40.14% 0.157 347)
XYZxyz(10.5515, 5.5120, 9.7389)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1058 #107E36
analogous
#6D107E #7E1058 #7E1021
triadic
#7E1058 #587E10 #10587E
tetradic
#7E1058 #7E6D10 #107E36 #10217E
square
#7E1058 #7E6D10 #107E36 #10217E
split-complementary
#7E1058 #217E10 #107E6D
monochromatic
#1B0313 #480932 #7E1058 #B4177E #E325A2

Accessibility & contrast

On white

9.99
#7E1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1058
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1058#FFFFFF#000000##FFFFFF
##7E10581.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#870934
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1058;
/* rgb */ color: rgb(126, 16, 88);
/* oklch */ color: oklch(40.1% 0.157 347.0);
Tailwind
colors: {
  custom: {
    50: '#a85f87',
    500: '#7e1058',
    950: '#000000',
  },
}
SCSS
$custom: #7e1058;
$custom-light: #a85f87;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1058",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 320.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40144,
    "c": 0.15675,
    "h": 347
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#7E1058
secondary
#36B461
accent
#F47634
background
#FAF5F8
surface
#F4EAEF
border
#CEC6CA
text
#10050B
muted
#7F797C

Preview Lab

Preview with #7E1058

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

Preview Lab → · Contrast checker → · Palette generator →

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